add

open fun add(panel: Component, route: String)

Adds given component and bounds it's activation to a given route.

Parameters

panel

child component

route

JavaScript route to activate given child


open override fun add(child: Component)

Adds given component to the current container.

Parameters

child

child component


open override 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