add
fun add(child: Component, columnStart: Int? = null, rowStart: Int? = null, columnEnd: String? = null, rowEnd: String? = null, area: String? = null, justifySelf: JustifyItems? = null, alignSelf: AlignItems? = null, className: String? = null)
Adds a component to the grid container.
Parameters
child
child component
column Start
number of starting column
row Start
number of starting row
column End
number of ending column
row End
number of ending row
area
grid area
justify Self
child self justification
align Self
child self alignment
class Name
CSS class names
fun add(position: Int, child: Component, columnStart: Int? = null, rowStart: Int? = null, columnEnd: String? = null, rowEnd: String? = null, area: String? = null, justifySelf: JustifyItems? = null, alignSelf: AlignItems? = null, className: String? = null)
Adds a component to the grid container at the given position.
Parameters
position
the position of the child component
child
child component
column Start
number of starting column
row Start
number of starting row
column End
number of ending column
row End
number of ending row
area
grid area
justify Self
child self justification
align Self
child self alignment
class Name
CSS class names
Adds given component to the current container.
Parameters
child
child component
Adds given component to the current container at the given position.
Parameters
position
the position to insert child component
child
the child component