add

abstract fun add(child: Component)

Adds given component to the current container.

Parameters

child

child component


abstract fun add(position: Int, 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