From eb930482e9972a21d39f2aea8b813acf58ff5b64 Mon Sep 17 00:00:00 2001
From: Robert Jaros
+
+
+ Constructor Overrides SimplePanel.addAll Adds a list of components to the current container.
+ Return Overrides SimplePanel.add Adds given component to the current container. Return Overrides SimplePanel.getChildren Returns a list of children of the current container. Return Overrides Widget.getSnClass Returns list of CSS class names for current widget in the form of a List. Return The Bootstrap Navbar container. Determines if the navbar is inverted. The navbar header label. The navbar type. Adds given component to the current container. Adds a list of components to the current container. Returns a list of children of the current container. Returns list of CSS class names for current widget in the form of a List. Removes given component from the current container. Removes all children from the current container. Renders current component as a Snabbdom vnode. Protected and final method to add given component to the current container. Returns the array of the children Snabbdom vnodes. DSL builder extension function. Determines if the navbar is inverted. Getter Determines if the navbar is inverted.
+
+<init>
+
+Navbar(: String? = null, : NavbarType? = null, : Boolean = false, : Set<String> = setOf(), : Navbar.() -> Unit = null)
+Parameters
+
+
+inverted
- determines if the navbar is invertedclasses
- a set of CSS class namesinit
- an initializer extension function
+
+
+addAll
+
+open fun addAll(: List<Component>): Navbar
+Parameters
+children
- list of child components
+current container
+
+add
+
+open fun add(: Component): Navbar
+Parameters
+
+
+current container
+
+getChildren
+
+open fun getChildren(): List<Component>
+
+list of children
+
+getSnClass
+
+protected open fun getSnClass(): List<StringBoolPair>
+
+list of CSS class names
+
+Navbar
+open class Navbar : SimplePanel
+Constructors
+
+
+
+
+
+
+
+
+
+
+
+Navbar(: String? = null, : NavbarType? = null, : Boolean = false, : Set<String> = setOf(), : Navbar.() -> Unit = null)
Properties
+
+
+
+
+
+
+
+
+
+
+var inverted: Boolean
+
+
+
+
+
+
+
+var label: String?
+
+
+
+
+
+
+
+
+var type: NavbarType?
+Functions
+
+
+
+
+
+
+
+
+
+
+open fun add(: Component): Navbar
+
+
+
+
+
+
+
+open fun addAll(: List<Component>): Navbar
+
+
+
+
+
+
+
+open fun getChildren(): List<Component>
+
+
+
+
+
+
+
+open fun getSnClass(): List<StringBoolPair>
+
+
+
+
+
+
+
+open fun remove(: Component): Navbar
+
+
+
+
+
+
+
+open fun removeAll(): Navbar
+
+
+
+
+
+
+
+
+open fun render(): VNode
+Inherited Functions
+
+
+
+
+
+
+
+
+
+
+fun addInternal(child: Component): SimplePanel
+
+
+
+
+
+
+
+
+open fun childrenVNodes(): Array<VNode>
+Companion Object Functions
+
+
+
+
+
diff --git a/api/pl.treksoft.kvision.navbar/-navbar/inverted.html b/api/pl.treksoft.kvision.navbar/-navbar/inverted.html
new file mode 100644
index 00000000..233f0082
--- /dev/null
+++ b/api/pl.treksoft.kvision.navbar/-navbar/inverted.html
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+fun Container.navbar(: String? = null, : NavbarType? = null, : Boolean = false, : Set<String> = setOf(), : Navbar.() -> Unit = null): Navbar
+
+
+inverted
+
+var inverted: Boolean
+
+
Setter
+
Determines if the navbar is inverted.
+ + + diff --git a/api/pl.treksoft.kvision.navbar/-navbar/label.html b/api/pl.treksoft.kvision.navbar/-navbar/label.html new file mode 100644 index 00000000..4b2fc0b9 --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/-navbar/label.html @@ -0,0 +1,15 @@ + + + +var label: String?
+The navbar header label.
+ + diff --git a/api/pl.treksoft.kvision.navbar/-navbar/navbar.html b/api/pl.treksoft.kvision.navbar/-navbar/navbar.html new file mode 100644 index 00000000..8754bdd0 --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/-navbar/navbar.html @@ -0,0 +1,16 @@ + + + +fun Container.navbar(: String? = null, : NavbarType? = null, : Boolean = false, : Set<String> = setOf(), : Navbar.() -> Unit = null): Navbar
+DSL builder extension function.
+It takes the same parameters as the constructor of the built component.
+ + diff --git a/api/pl.treksoft.kvision.navbar/-navbar/remove-all.html b/api/pl.treksoft.kvision.navbar/-navbar/remove-all.html new file mode 100644 index 00000000..fffc78b4 --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/-navbar/remove-all.html @@ -0,0 +1,18 @@ + + + +open fun removeAll(): Navbar
+Overrides SimplePanel.removeAll
+Removes all children from the current container.
+Return
+current container
open fun remove(: Component): Navbar
+Overrides SimplePanel.remove
+Removes given component from the current container.
+Return
+current container
protected open fun render(): VNode
+Overrides SimplePanel.render
+Renders current component as a Snabbdom vnode.
+Return
+Snabbdom vnode
var type: NavbarType?
+The navbar type.
+Getter
+
The navbar type.
+ +Setter
+
The navbar type.
+ + + -- cgit