From fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb Mon Sep 17 00:00:00 2001
From: Robert Jaros
-
+
+
diff --git a/api/pl.treksoft.kvision.navbar/-navbar/bg-color.html b/api/pl.treksoft.kvision.navbar/-navbar/bg-color.html
new file mode 100644
index 00000000..f3c5e42b
--- /dev/null
+++ b/api/pl.treksoft.kvision.navbar/-navbar/bg-color.html
@@ -0,0 +1,21 @@
+
+ The navbar background color. Getter The navbar background color.
<init>
-
-Navbar(: String? = null, : NavbarType? = null, : Boolean = false, : Set<String> = setOf(), : (Navbar.() -> Unit)? = null)
+
+Navbar(: String? = null, : NavbarType? = null, : NavbarExpand? = NavbarExpand.LG, : NavbarColor = NavbarColor.LIGHT, : BsBgColor = BsBgColor.LIGHT, : Set<String> = setOf(), : (Navbar.() -> Unit)? = null)
Parameters
-inverted - determines if the navbar is invertedexpand - the navbar responsive behaviorbgColor - the navbar background colorclasses - a set of CSS class names
+
+bgColor
+
+var bgColor: BsBgColor
+
+
Setter
+
The navbar background color.
+ + + diff --git a/api/pl.treksoft.kvision.navbar/-navbar/expand.html b/api/pl.treksoft.kvision.navbar/-navbar/expand.html new file mode 100644 index 00000000..03621867 --- /dev/null +++ b/api/pl.treksoft.kvision.navbar/-navbar/expand.html @@ -0,0 +1,21 @@ + + + +var expand: NavbarExpand?
+The navbar responsive behavior.
+Getter
+
The navbar responsive behavior.
+ +Setter
+
The navbar responsive behavior.
+ + + diff --git a/api/pl.treksoft.kvision.navbar/-navbar/index.html b/api/pl.treksoft.kvision.navbar/-navbar/index.html index 6bd615f6..e426c87c 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, : NavbarType? = null, : Boolean = false, : Set<String> = setOf(), : (Navbar.() -> Unit)? = null)Navbar(: String? = null, : NavbarType? = null, : NavbarExpand? = NavbarExpand.LG, : NavbarColor = NavbarColor.LIGHT, : BsBgColor = BsBgColor.LIGHT, : Set<String> = setOf(), : (Navbar.() -> Unit)? = null)
@@ -27,11 +27,20 @@
var inverted: Boolean
-Determines if the navbar is inverted.
+var bgColor: BsBgColor
+The navbar background color.
+var expand: NavbarExpand?
+The navbar responsive behavior.
var nColor: NavbarColor
+The navbar color.
+| + + | +
+val children: MutableList<Component> |
+
| - + + | +
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit |
+
| + + | +
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit |
+
| + |
-fun Container.navbar(: String? = null, : NavbarType? = null, : Boolean = false, : Set<String> = setOf(), : (Navbar.() -> Unit)? = null): Navbar
+fun Component.addBsClearfix(): Unit |
+
| + + | +
+fun Component.addBsColor(bsColor: BsColor): Unit |
+
| + + | +
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit |
+
| + + | +
+fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold
+DSL builder extension function. + |
+
| + + | +
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button
+DSL builder extension function. + |
+
| + + | +
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup
+DSL builder extension function. + |
+
| + + | +
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas
+DSL builder extension function. + |
+
| + + | +
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart
+DSL builder extension function. + |
+
| + + | +
+fun Container.checkBox(value: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (CheckBox.() -> Unit)? = null): CheckBox
+DSL builder extension function. + |
+
| + + | +
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput
+DSL builder extension function. + |
+
| + + | +
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu
DSL builder extension function. |
|
@@ -171,6 +294,686 @@
Helper function for creating JavaScript objects from dynamic constructors. |
|
| + + | +
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: (M, Int, MutableList<M>) -> C, container: CONT, containerAdd: ( |