open class Navbar : SimplePanel
The Bootstrap Navbar container.
Navbar(: String? = null, : NavbarType? = null, : Boolean = false, : Set<String> = setOf(), : Navbar.() -> Unit = null) |
var inverted: Boolean
Determines if the navbar is inverted. |
|
var label: String?
The navbar header label. |
|
var type: NavbarType?
The navbar type. |
open fun add(: Component): Navbar
Adds given component to the current container. |
|
open fun addAll(: List<Component>): Navbar
Adds a list of components to the current container. |
|
open fun getChildren(): List<Component>
Returns a list of children of the current container. |
|
open fun getSnClass(): List<StringBoolPair>
Returns list of CSS class names for current widget in the form of a List. |
|
open fun remove(: Component): Navbar
Removes given component from the current container. |
|
open fun removeAll(): Navbar
Removes all children from the current container. |
|
open fun render(): VNode
Renders current component as a Snabbdom vnode. |
fun addInternal(child: Component): SimplePanel
Protected and final method to add given component to the current container. |
|
open fun childrenVNodes(): Array<VNode>
Returns the array of the children Snabbdom vnodes. |
fun Container.navbar(: String? = null, : NavbarType? = null, : Boolean = false, : Set<String> = setOf(), : Navbar.() -> Unit = null): Navbar
DSL builder extension function. |