kvision / pl.treksoft.kvision.panel / GridPanel / add

add

(js) fun add(child: Component, columnStart: Int? = null, rowStart: Int? = null, columnEnd: String? = null, rowEnd: String? = null, area: String? = null, justifySelf: GridJustify? = null, alignSelf: GridAlign? = null, classes: Set<String> = setOf()): GridPanel

Adds a component to the grid container.

Parameters

child - child component

columnStart - number of starting column

rowStart - number of starting row

columnEnd - number of ending column

rowEnd - number of ending row

area - grid area

justifySelf - child self justification

alignSelf - child self alignment

classes - a set of CSS class names

Return
current container

(js) open fun add(child: Component): GridPanel

Adds given component to the current container.

Parameters

child - child component

Return
current container