kvision / pl.treksoft.kvision.panel / DockPanel / add

add

(js) open fun add(child: Component, position: Side): DockPanel

Adds a component to the dock container.

Parameters

child - child component

position - position in the dock

Return
current container

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

Adds given component to the current container.

Parameters

child - child component

Return
current container