From 4ffe1bee99a55e985bb71dacff3839263cb4316f Mon Sep 17 00:00:00 2001
From: Robert Jaros
<init>
-
-Navbar(: String? = null, : String? = null, : NavbarType? = null, : NavbarExpand? = NavbarExpand.LG, : NavbarColor = NavbarColor.LIGHT, : BsBgColor = BsBgColor.LIGHT, : Set<String> = setOf(), : (Navbar.() -> Unit)? = null)
+
+Navbar(: String? = null, : String? = null, : NavbarType? = null, : NavbarExpand? = NavbarExpand.LG, : NavbarColor = NavbarColor.LIGHT, : BsBgColor = BsBgColor.LIGHT, : Boolean = false, : Set<String> = setOf(), : (Navbar.() -> Unit)? = null)
Parameters
label - the navbar header labelnColor - the navbar color
bgColor - the navbar background color
+collapseOnClick - the navbar is auto collapsed when the link is clicked
classes - a set of CSS class names
diff --git a/api/pl.treksoft.kvision.navbar/-navbar/index.html b/api/pl.treksoft.kvision.navbar/-navbar/index.html index 21dd5145..8ba25a54 100644 --- a/api/pl.treksoft.kvision.navbar/-navbar/index.html +++ b/api/pl.treksoft.kvision.navbar/-navbar/index.html @@ -18,7 +18,7 @@
Navbar(: String? = null, : String? = null, : NavbarType? = null, : NavbarExpand? = NavbarExpand.LG, : NavbarColor = NavbarColor.LIGHT, : BsBgColor = BsBgColor.LIGHT, : Set<String> = setOf(), : (Navbar.() -> Unit)? = null)Navbar(: String? = null, : String? = null, : NavbarType? = null, : NavbarExpand? = NavbarExpand.LG, : NavbarColor = NavbarColor.LIGHT, : BsBgColor = BsBgColor.LIGHT, : Boolean = false, : Set<String> = setOf(), : (Navbar.() -> Unit)? = null)
@@ -184,6 +184,32 @@
+| + + | +
+val <T : Widget> T.changeFlow: <ERROR CLASS><T> |
+
| + + | +
+val <T : Widget> T.clickFlow: <ERROR CLASS><T> |
+
| + + | +
+val <T : Widget> T.inputFlow: <ERROR CLASS><T> |
+
| + + | +
+fun <T : Widget> T.eventFlow(event: String): <ERROR CLASS><Pair<T, Event>> |
+|
| @@ -541,6 +574,15 @@ | ||
| + + | +
+fun Container.maps(lat: Number, lng: Number, zoom: Number, classes: Set<String> = setOf(), init: (Maps.() -> Unit)? = null): Maps
+DSL builder extension function. + |
+|
| @@ -553,7 +595,7 @@ |
-fun Container.navbar(: String? = null, : String? = null, : NavbarType? = null, : NavbarExpand? = NavbarExpand.LG, : NavbarColor = NavbarColor.LIGHT, : BsBgColor = BsBgColor.LIGHT, : Set<String> = setOf(), : (Navbar.() -> Unit)? = null): Navbar
+fun Container.navbar(: String? = null, : String? = null, : NavbarType? = null, : NavbarExpand? = NavbarExpand.LG, : NavbarColor = NavbarColor.LIGHT, : BsBgColor = BsBgColor.LIGHT, : Boolean = false, : Set<String> = setOf(), : (Navbar.() -> Unit)? = null): Navbar
DSL builder extension function. |
-fun <T : Widget> T.onEvent(block: SnOn<T>.() -> Unit): Widget |
+
| -- cgit |