From bfd5aa358e141d6c86d476d8bb66b104a80a3b96 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Thu, 21 May 2020 00:13:50 +0200 Subject: API documentation for KVision 3.10.0 --- api/pl.treksoft.kvision.core/-container/index.html | 214 +++++++++++++------ .../-container/unary-plus.html | 15 ++ .../-easing/-l-i-n-e-a-r.html | 14 ++ .../-easing/-s-w-i-n-g.html | 14 ++ api/pl.treksoft.kvision.core/-easing/index.html | 34 +++ .../-widget-wrapper/index.html | 230 +++++++++++++++------ .../-widget/after-destroy-hook.html | 1 + .../-widget/after-dispose-hook.html | 15 ++ .../-widget/after-insert-hook.html | 1 + api/pl.treksoft.kvision.core/-widget/animate.html | 24 +++ api/pl.treksoft.kvision.core/-widget/fade-in.html | 24 +++ api/pl.treksoft.kvision.core/-widget/fade-out.html | 24 +++ .../-widget/hide-anim.html | 24 +++ api/pl.treksoft.kvision.core/-widget/index.html | 136 ++++++++++-- .../-widget/show-anim.html | 24 +++ .../-widget/slide-down.html | 24 +++ api/pl.treksoft.kvision.core/-widget/slide-up.html | 24 +++ api/pl.treksoft.kvision.core/index.html | 22 +- api/pl.treksoft.kvision.core/on-click.html | 15 ++ api/pl.treksoft.kvision.core/on-event.html | 1 + api/pl.treksoft.kvision.core/widget-wrapper.html | 4 +- api/pl.treksoft.kvision.core/widget.html | 4 +- 22 files changed, 734 insertions(+), 154 deletions(-) create mode 100644 api/pl.treksoft.kvision.core/-container/unary-plus.html create mode 100644 api/pl.treksoft.kvision.core/-easing/-l-i-n-e-a-r.html create mode 100644 api/pl.treksoft.kvision.core/-easing/-s-w-i-n-g.html create mode 100644 api/pl.treksoft.kvision.core/-easing/index.html create mode 100644 api/pl.treksoft.kvision.core/-widget/after-dispose-hook.html create mode 100644 api/pl.treksoft.kvision.core/-widget/animate.html create mode 100644 api/pl.treksoft.kvision.core/-widget/fade-in.html create mode 100644 api/pl.treksoft.kvision.core/-widget/fade-out.html create mode 100644 api/pl.treksoft.kvision.core/-widget/hide-anim.html create mode 100644 api/pl.treksoft.kvision.core/-widget/show-anim.html create mode 100644 api/pl.treksoft.kvision.core/-widget/slide-down.html create mode 100644 api/pl.treksoft.kvision.core/-widget/slide-up.html create mode 100644 api/pl.treksoft.kvision.core/on-click.html (limited to 'api/pl.treksoft.kvision.core') diff --git a/api/pl.treksoft.kvision.core/-container/index.html b/api/pl.treksoft.kvision.core/-container/index.html index 4c3eaab6..a2b35914 100644 --- a/api/pl.treksoft.kvision.core/-container/index.html +++ b/api/pl.treksoft.kvision.core/-container/index.html @@ -67,6 +67,15 @@

Removes all children from the current container.

abstract fun removeAll(): Container + + +(js) +

unaryPlus

+ + +

An operator to add a text node to the container.

+open operator fun String.unaryPlus(): Unit +

Extension Functions

@@ -119,7 +128,7 @@

DSL builder extension function.

-fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (Bold.() -> Unit)? = null): Bold @@ -128,7 +137,7 @@

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 +fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, separator: String? = null, labelFirst: Boolean = true, classes: Set<String>? = null, className: String? = null, init: (Button.() -> Unit)? = null): Button @@ -137,7 +146,7 @@

DSL builder extension function.

-fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String>? = null, className: String? = null, init: (ButtonGroup.() -> Unit)? = null): ButtonGroup @@ -146,7 +155,7 @@

DSL builder extension function.

-fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String>? = null, className: String? = null, init: (Canvas.() -> Unit)? = null): Canvas @@ -155,7 +164,7 @@

DSL builder extension function.

-fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String>? = null, className: String? = null, init: (Chart.() -> Unit)? = null): Chart @@ -173,7 +182,7 @@

DSL builder extension function.

-fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +fun Container.checkBoxInput(value: Boolean = false, classes: Set<String>? = null, className: String? = null, init: (CheckInput.() -> Unit)? = null): CheckBoxInput @@ -182,7 +191,7 @@

DSL builder extension function.

-fun Container.customTag(elementName: String, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (CustomTag.() -> Unit)? = null): CustomTag +fun Container.customTag(elementName: String, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, attributes: Map<String, String> = mapOf(), init: (CustomTag.() -> Unit)? = null): CustomTag @@ -211,7 +220,7 @@

DSL builder extension function.

-fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String>? = null, className: String? = null, init: (DateTimeInput.() -> Unit)? = null): DateTimeInput @@ -220,7 +229,7 @@

DSL builder extension function.

-fun Container.div(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Div.() -> Unit)? = null): Div +fun Container.div(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (Div.() -> Unit)? = null): Div @@ -229,7 +238,7 @@

DSL builder extension function.

-fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +fun Container.dockPanel(classes: Set<String>? = null, className: String? = null, init: (DockPanel.() -> Unit)? = null): DockPanel @@ -238,7 +247,7 @@

DSL builder extension function.

-fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String>? = null, className: String? = null, init: (DropDown.() -> Unit)? = null): DropDown @@ -247,7 +256,16 @@

DSL builder extension function.

-fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String>? = null, className: String? = null, init: (FieldLabel.() -> Unit)? = null): FieldLabel + + + +(js) +

fieldset

+ + +

DSL builder extension function.

+fun Container.fieldset(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (Fieldset.() -> Unit)? = null): Fieldset @@ -256,7 +274,7 @@

DSL builder extension function.

-fun Container.fieldsetPanel(legend: String? = null, classes: Set<String> = setOf(), init: (FieldsetPanel.() -> Unit)? = null): FieldsetPanel +fun Container.fieldsetPanel(legend: String? = null, classes: Set<String>? = null, className: String? = null, init: (FieldsetPanel.() -> Unit)? = null): FieldsetPanel @@ -265,7 +283,7 @@

DSL builder extension function.

-fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String>? = null, className: String? = null, init: (FlexPanel.() -> Unit)? = null): FlexPanel @@ -274,7 +292,16 @@

DSL builder extension function.

-fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (Footer.() -> Unit)? = null): Footer + + + +(js) +

form

+ + +

DSL builder extension function.

+fun Container.form(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, horizRatio: FormHorizontalRatio = FormHorizontalRatio.RATIO_2, classes: Set<String>? = null, className: String? = null, init: (FormPanel<Any>.() -> Unit)? = null): FormPanel<Any> @@ -283,7 +310,7 @@

DSL builder extension function.

-fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, horizRatio: FormHorizontalRatio = FormHorizontalRatio.RATIO_2, classes: Set<String> = setOf(), customSerializers: Map<KClass<*>, KSerializer<*>>? = null, init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, horizRatio: FormHorizontalRatio = FormHorizontalRatio.RATIO_2, classes: Set<String>? = null, className: String? = null, customSerializers: Map<KClass<*>, KSerializer<*>>? = null, init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> @@ -292,7 +319,7 @@

DSL builder extension function.

-fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String>? = null, className: String? = null, init: (GridPanel.() -> Unit)? = null): GridPanel @@ -301,7 +328,7 @@

DSL builder extension function.

-fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (H1.() -> Unit)? = null): H1 @@ -310,7 +337,7 @@

DSL builder extension function.

-fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (H2.() -> Unit)? = null): H2 @@ -319,7 +346,7 @@

DSL builder extension function.

-fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (H3.() -> Unit)? = null): H3 @@ -328,7 +355,7 @@

DSL builder extension function.

-fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (H4.() -> Unit)? = null): H4 @@ -337,7 +364,7 @@

DSL builder extension function.

-fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (H5.() -> Unit)? = null): H5 @@ -346,7 +373,7 @@

DSL builder extension function.

-fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (H6.() -> Unit)? = null): H6 @@ -355,7 +382,7 @@

DSL builder extension function.

-fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (Header.() -> Unit)? = null): Header @@ -364,7 +391,7 @@

DSL builder extension function.

-fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String>? = null, className: String? = null, init: (HPanel.() -> Unit)? = null): HPanel @@ -382,7 +409,7 @@

DSL builder extension function.

-fun Container.iframe(src: String? = null, srcdoc: String? = null, name: String? = null, iframeWidth: Int? = null, iframeHeight: Int? = null, sandbox: Set<Sandbox>? = null, classes: Set<String> = setOf(), init: (Iframe.() -> Unit)? = null): Iframe +fun Container.iframe(src: String? = null, srcdoc: String? = null, name: String? = null, iframeWidth: Int? = null, iframeHeight: Int? = null, sandbox: Set<Sandbox>? = null, classes: Set<String>? = null, className: String? = null, init: (Iframe.() -> Unit)? = null): Iframe @@ -391,7 +418,16 @@

DSL builder extension function.

-fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +fun Container.image(src: ResString?, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String>? = null, className: String? = null, init: (Image.() -> Unit)? = null): Image + + + +(js) +

li

+ + +

DSL builder extension function.

+fun Container.li(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (Li.() -> Unit)? = null): Li @@ -400,7 +436,7 @@

DSL builder extension function.

-fun Container.link(label: String, url: String? = null, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: (Link.() -> Unit)? = null): Link +fun Container.link(label: String, url: String? = null, icon: String? = null, image: ResString? = null, separator: String? = null, labelFirst: Boolean = true, classes: Set<String>? = null, className: String? = null, init: (Link.() -> Unit)? = null): Link @@ -409,7 +445,7 @@

DSL builder extension function.

-fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String>? = null, className: String? = null, init: (ListTag.() -> Unit)? = null): ListTag @@ -418,7 +454,7 @@

DSL builder extension function.

-fun Container.main(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Main.() -> Unit)? = null): Main +fun Container.main(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (Main.() -> Unit)? = null): Main @@ -427,7 +463,16 @@

DSL builder extension function.

-fun Container.maps(lat: Number, lng: Number, zoom: Number, showMarker: Boolean = false, classes: Set<String> = setOf(), init: (Maps.() -> Unit)? = null): Maps +fun Container.maps(lat: Number, lng: Number, zoom: Number, showMarker: Boolean = false, classes: Set<String>? = null, className: String? = null, init: (Maps.() -> Unit)? = null): Maps + + + +(js) +

nav

+ + +

DSL builder extension function.

+fun Container.nav(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (Nav.() -> Unit)? = null): Nav @@ -436,7 +481,16 @@

DSL builder extension function.

-fun Container.navbar(label: String? = null, link: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, collapseOnClick: Boolean = false, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +fun Container.navbar(label: String? = null, link: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, collapseOnClick: Boolean = false, classes: Set<String>? = null, className: String? = null, init: (Navbar.() -> Unit)? = null): Navbar + + + +(js) +

ol

+ + +

DSL builder extension function.

+fun Container.ol(elements: List<String>? = null, rich: Boolean = false, classes: Set<String>? = null, className: String? = null, init: (Ol.() -> Unit)? = null): Ol @@ -445,7 +499,7 @@

DSL builder extension function.

-fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (P.() -> Unit)? = null): P @@ -463,7 +517,7 @@

DSL builder extension function.

-fun Container.progressBar(progress: Int, min: Int = DEFAULT_MIN, max: Int = DEFAULT_MAX, style: ProgressBarStyle? = null, striped: Boolean = false, animated: Boolean = false, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (ProgressBar.() -> Unit)? = null): ProgressBar +fun Container.progressBar(progress: Int, min: Int = DEFAULT_MIN, max: Int = DEFAULT_MAX, style: ProgressBarStyle? = null, striped: Boolean = false, animated: Boolean = false, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (ProgressBar.() -> Unit)? = null): ProgressBar @@ -499,7 +553,7 @@

DSL builder extension function.

-fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +fun Container.radioInput(value: Boolean = false, classes: Set<String>? = null, className: String? = null, init: (CheckInput.() -> Unit)? = null): RadioInput @@ -517,7 +571,17 @@

DSL builder extension function.

-fun Container.rangeInput(value: Number? = null, min: Number = 0, max: Number = 100, step: Number = DEFAULT_STEP, classes: Set<String> = setOf(), init: (RangeInput.() -> Unit)? = null): RangeInput +fun Container.rangeInput(value: Number? = null, min: Number = 0, max: Number = 100, step: Number = DEFAULT_STEP, classes: Set<String>? = null, className: String? = null, init: (RangeInput.() -> Unit)? = null): RangeInput + + + +(js) +

react

+ + +

DSL builder extension function.

+fun <S> Container.react(state: S, classes: Set<String>? = null, className: String? = null, builder: RBuilder.(getState: () -> S, changeState: ((S) -> S) -> Unit) -> Unit): React<S>
+fun Container.react(classes: Set<String>? = null, className: String? = null, builder: RBuilder.() -> Unit): React<dynamic> @@ -566,7 +630,7 @@

DSL builder extension function.

-fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel @@ -584,7 +648,7 @@

DSL builder extension function.

-fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +fun Container.richTextInput(value: String? = null, classes: Set<String>? = null, className: String? = null, init: (RichTextInput.() -> Unit)? = null): RichTextInput @@ -593,7 +657,7 @@

DSL builder extension function.

-fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (Section.() -> Unit)? = null): Section @@ -611,7 +675,7 @@

DSL builder extension function.

-fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String>? = null, className: String? = null, init: (SelectInput.() -> Unit)? = null): SelectInput @@ -629,7 +693,7 @@

DSL builder extension function.

-fun <T : Any> Container.selectRemoteInput(serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<RemoteOption>, stateFunction: (() -> String)? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, preload: Boolean = false, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +fun <T : Any> Container.selectRemoteInput(serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<RemoteOption>, stateFunction: (() -> String)? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, preload: Boolean = false, classes: Set<String>? = null, className: String? = null, init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> @@ -638,7 +702,7 @@

DSL builder extension function.

-fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +fun Container.simplePanel(classes: Set<String>? = null, className: String? = null, init: (SimplePanel.() -> Unit)? = null): SimplePanel @@ -656,7 +720,7 @@

DSL builder extension function.

-fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String>? = null, className: String? = null, init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput @@ -665,7 +729,7 @@

DSL builder extension function.

-fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (Span.() -> Unit)? = null): Span @@ -683,7 +747,7 @@

DSL builder extension function.

-fun Container.spinnerInput(value: Number? = null, min: Number? = null, max: Number? = null, step: Number = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +fun Container.spinnerInput(value: Number? = null, min: Number? = null, max: Number? = null, step: Number = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String>? = null, className: String? = null, init: (SpinnerInput.() -> Unit)? = null): SpinnerInput @@ -692,7 +756,7 @@

DSL builder extension function.

-fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String>? = null, className: String? = null, init: (SplitPanel.() -> Unit)? = null): SplitPanel @@ -701,7 +765,7 @@

DSL builder extension function.

-fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String>? = null, className: String? = null, init: (StackPanel.() -> Unit)? = null): StackPanel @@ -710,7 +774,7 @@

DSL builder extension function.

-fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> @@ -719,7 +783,7 @@

DSL builder extension function for updateable redux content.

-fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> @@ -728,7 +792,7 @@

DSL builder extension function.

-fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String>? = null, className: String? = null, init: (Table.() -> Unit)? = null): Table @@ -737,7 +801,7 @@

DSL builder extension function.

-fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String>? = null, className: String? = null, init: (TabPanel.() -> Unit)? = null): TabPanel @@ -746,11 +810,11 @@

DSL builder extension function.

-fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String>? = null, className: String? = null, init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T>

DSL builder extension function for a general observable store.

-fun <T : Any, S : Any> Container.tabulator(store: ObservableState<S>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +fun <T : Any, S : Any> Container.tabulator(store: ObservableState<S>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String>? = null, className: String? = null, init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T>

DSL builder extension function for dynamic data (send within options parameter).

-fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String>? = null, className: String? = null, init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> @@ -759,7 +823,7 @@

DSL builder extension function.

-fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<RemoteFilter>?, List<RemoteSorter>?, String?) -> RemoteData<T>, stateFunction: (() -> String)? = null, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<RemoteFilter>?, List<RemoteSorter>?, String?) -> RemoteData<T>, stateFunction: (() -> String)? = null, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String>? = null, className: String? = null, init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> @@ -768,7 +832,7 @@

DSL builder extension function.

-fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag @@ -795,7 +859,7 @@

DSL builder extension function.

-fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String>? = null, className: String? = null, init: (TextAreaInput.() -> Unit)? = null): TextAreaInput @@ -804,7 +868,16 @@

DSL builder extension function.

-fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String>? = null, className: String? = null, init: (TextInput.() -> Unit)? = null): TextInput + + + +(js) +

textNode

+ + +

DSL builder extension function.

+fun Container.textNode(content: String, rich: Boolean = false, init: (TextNode.() -> Unit)? = null): TextNode @@ -813,7 +886,7 @@

DSL builder extension function.

-fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String>? = null, className: String? = null, init: (Toolbar.() -> Unit)? = null): Toolbar @@ -831,7 +904,7 @@

DSL builder extension function.

-fun Container.typeaheadInput(options: List<String>? = null, taAjaxOptions: TaAjaxOptions? = null, items: Int? = 8, minLength: Int = 1, delay: Int = 0, type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TypeaheadInput.() -> Unit)? = null): TypeaheadInput +fun Container.typeaheadInput(options: List<String>? = null, taAjaxOptions: TaAjaxOptions? = null, items: Int? = 8, minLength: Int = 1, delay: Int = 0, type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String>? = null, className: String? = null, init: (TypeaheadInput.() -> Unit)? = null): TypeaheadInput @@ -849,7 +922,16 @@

DSL builder extension function.

-fun <T : Any> Container.typeaheadRemoteInput(serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?) -> List<String>, stateFunction: (() -> String)? = null, items: Int? = 8, minLength: Int = 1, delay: Int = 0, type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TypeaheadRemoteInput<T>.() -> Unit)? = null): TypeaheadRemoteInput<T> +fun <T : Any> Container.typeaheadRemoteInput(serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?) -> List<String>, stateFunction: (() -> String)? = null, items: Int? = 8, minLength: Int = 1, delay: Int = 0, type: TextInputType = TextInputType.TEXT, value: String? = null, taAjaxOptions: TaAjaxOptions? = null, classes: Set<String>? = null, className: String? = null, init: (TypeaheadRemoteInput<T>.() -> Unit)? = null): TypeaheadRemoteInput<T> + + + +(js) +

ul

+ + +

DSL builder extension function.

+fun Container.ul(elements: List<String>? = null, rich: Boolean = false, classes: Set<String>? = null, className: String? = null, init: (Ul.() -> Unit)? = null): Ul @@ -867,7 +949,7 @@

DSL builder extension function.

-fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String>? = null, className: String? = null, init: (UploadInput.() -> Unit)? = null): UploadInput @@ -876,7 +958,7 @@

DSL builder extension function.

-fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String>? = null, className: String? = null, init: (VPanel.() -> Unit)? = null): VPanel @@ -885,7 +967,7 @@

DSL builder extension function.

-fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +fun Container.widget(classes: Set<String>? = null, className: String? = null, init: (Widget.() -> Unit)? = null): Widget @@ -894,7 +976,7 @@

DSL builder extension function.

-fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +fun Container.widgetWrapper(wrapped: Component?, classes: Set<String>? = null, className: String? = null, init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper @@ -903,7 +985,7 @@

DSL builder extension function.

-fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String>? = null, className: String? = null, init: (Window.() -> Unit)? = null): Window diff --git a/api/pl.treksoft.kvision.core/-container/unary-plus.html b/api/pl.treksoft.kvision.core/-container/unary-plus.html new file mode 100644 index 00000000..30cc9c6c --- /dev/null +++ b/api/pl.treksoft.kvision.core/-container/unary-plus.html @@ -0,0 +1,15 @@ + + + +Container.unaryPlus - kvision + + + +kvision / pl.treksoft.kvision.core / Container / unaryPlus
+
+

unaryPlus

+(js) +open operator fun String.unaryPlus(): Unit +

An operator to add a text node to the container.

+ + diff --git a/api/pl.treksoft.kvision.core/-easing/-l-i-n-e-a-r.html b/api/pl.treksoft.kvision.core/-easing/-l-i-n-e-a-r.html new file mode 100644 index 00000000..7ffa6030 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-easing/-l-i-n-e-a-r.html @@ -0,0 +1,14 @@ + + + +Easing.LINEAR - kvision + + + +kvision / pl.treksoft.kvision.core / Easing / LINEAR
+
+

LINEAR

+(js) +LINEAR + + diff --git a/api/pl.treksoft.kvision.core/-easing/-s-w-i-n-g.html b/api/pl.treksoft.kvision.core/-easing/-s-w-i-n-g.html new file mode 100644 index 00000000..6500e31e --- /dev/null +++ b/api/pl.treksoft.kvision.core/-easing/-s-w-i-n-g.html @@ -0,0 +1,14 @@ + + + +Easing.SWING - kvision + + + +kvision / pl.treksoft.kvision.core / Easing / SWING
+
+

SWING

+(js) +SWING + + diff --git a/api/pl.treksoft.kvision.core/-easing/index.html b/api/pl.treksoft.kvision.core/-easing/index.html new file mode 100644 index 00000000..c946c533 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-easing/index.html @@ -0,0 +1,34 @@ + + + +Easing - kvision + + + +kvision / pl.treksoft.kvision.core / Easing
+
+

Easing

+(js) enum class Easing +

Enum Values

+ + + + + + + + + + + +
+(js) +

SWING

+
+
+(js) +

LINEAR

+
+
+ + diff --git a/api/pl.treksoft.kvision.core/-widget-wrapper/index.html b/api/pl.treksoft.kvision.core/-widget-wrapper/index.html index 038afa66..b8c989c2 100644 --- a/api/pl.treksoft.kvision.core/-widget-wrapper/index.html +++ b/api/pl.treksoft.kvision.core/-widget-wrapper/index.html @@ -59,6 +59,7 @@

changeFlow

+

Extension property returning Flow for a change event.

val <T : Widget> T.changeFlow: Flow<T> @@ -67,6 +68,7 @@

clickFlow

+

Extension property returning Flow for a click event.

val <T : Widget> T.clickFlow: Flow<T> @@ -75,6 +77,7 @@

inputFlow

+

Extension property returning Flow for an input event.

val <T : Widget> T.inputFlow: Flow<T> @@ -125,11 +128,20 @@ (js) +

bind

+ + +

An extension function which binds the widget to the observable state.

+fun <S, W : Widget> W.bind(observableState: ObservableState<S>, factory: W.(S) -> Unit): W + + + +(js)

bold

DSL builder extension function.

-fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold +fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (Bold.() -> Unit)? = null): Bold @@ -138,7 +150,7 @@

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 +fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, separator: String? = null, labelFirst: Boolean = true, classes: Set<String>? = null, className: String? = null, init: (Button.() -> Unit)? = null): Button @@ -147,7 +159,7 @@

DSL builder extension function.

-fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String>? = null, className: String? = null, init: (ButtonGroup.() -> Unit)? = null): ButtonGroup @@ -156,7 +168,7 @@

DSL builder extension function.

-fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas +fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String>? = null, className: String? = null, init: (Canvas.() -> Unit)? = null): Canvas @@ -165,7 +177,7 @@

DSL builder extension function.

-fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart +fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String>? = null, className: String? = null, init: (Chart.() -> Unit)? = null): Chart @@ -183,7 +195,7 @@

DSL builder extension function.

-fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput +fun Container.checkBoxInput(value: Boolean = false, classes: Set<String>? = null, className: String? = null, init: (CheckInput.() -> Unit)? = null): CheckBoxInput @@ -192,7 +204,7 @@

DSL builder extension function.

-fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu +fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String>? = null, className: String? = null, init: (ContextMenu.() -> Unit)? = null): ContextMenu @@ -201,7 +213,7 @@

DSL builder extension function.

-fun Container.customTag(elementName: String, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (CustomTag.() -> Unit)? = null): CustomTag +fun Container.customTag(elementName: String, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, attributes: Map<String, String> = mapOf(), init: (CustomTag.() -> Unit)? = null): CustomTag @@ -230,7 +242,7 @@

DSL builder extension function.

-fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput +fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String>? = null, className: String? = null, init: (DateTimeInput.() -> Unit)? = null): DateTimeInput @@ -239,7 +251,7 @@

DSL builder extension function.

-fun Container.div(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Div.() -> Unit)? = null): Div +fun Container.div(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (Div.() -> Unit)? = null): Div @@ -248,7 +260,7 @@

DSL builder extension function.

-fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel +fun Container.dockPanel(classes: Set<String>? = null, className: String? = null, init: (DockPanel.() -> Unit)? = null): DockPanel @@ -257,7 +269,7 @@

DSL builder extension function.

-fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown +fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String>? = null, className: String? = null, init: (DropDown.() -> Unit)? = null): DropDown @@ -265,6 +277,7 @@

eventFlow

+

Extension property returning Flow<Pair<Widget, Event>> for a given event

fun <T : Widget> T.eventFlow(event: String): Flow<Pair<T, Event>> @@ -274,7 +287,16 @@

DSL builder extension function.

-fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String>? = null, className: String? = null, init: (FieldLabel.() -> Unit)? = null): FieldLabel + + + +(js) +

fieldset

+ + +

DSL builder extension function.

+fun Container.fieldset(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (Fieldset.() -> Unit)? = null): Fieldset @@ -283,7 +305,7 @@

DSL builder extension function.

-fun Container.fieldsetPanel(legend: String? = null, classes: Set<String> = setOf(), init: (FieldsetPanel.() -> Unit)? = null): FieldsetPanel +fun Container.fieldsetPanel(legend: String? = null, classes: Set<String>? = null, className: String? = null, init: (FieldsetPanel.() -> Unit)? = null): FieldsetPanel @@ -292,7 +314,7 @@

DSL builder extension function.

-fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel +fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String>? = null, className: String? = null, init: (FlexPanel.() -> Unit)? = null): FlexPanel @@ -301,7 +323,16 @@

DSL builder extension function.

-fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Footer.() -> Unit)? = null): Footer +fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (Footer.() -> Unit)? = null): Footer + + + +(js) +

form

+ + +

DSL builder extension function.

+fun Container.form(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, horizRatio: FormHorizontalRatio = FormHorizontalRatio.RATIO_2, classes: Set<String>? = null, className: String? = null, init: (FormPanel<Any>.() -> Unit)? = null): FormPanel<Any> @@ -310,7 +341,7 @@

DSL builder extension function.

-fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, horizRatio: FormHorizontalRatio = FormHorizontalRatio.RATIO_2, classes: Set<String> = setOf(), customSerializers: Map<KClass<*>, KSerializer<*>>? = null, init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, horizRatio: FormHorizontalRatio = FormHorizontalRatio.RATIO_2, classes: Set<String>? = null, className: String? = null, customSerializers: Map<KClass<*>, KSerializer<*>>? = null, init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> @@ -319,7 +350,7 @@

DSL builder extension function.

-fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel +fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String>? = null, className: String? = null, init: (GridPanel.() -> Unit)? = null): GridPanel @@ -328,7 +359,7 @@

DSL builder extension function.

-fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1 +fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (H1.() -> Unit)? = null): H1 @@ -337,7 +368,7 @@

DSL builder extension function.

-fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2 +fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (H2.() -> Unit)? = null): H2 @@ -346,7 +377,7 @@

DSL builder extension function.

-fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3 +fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (H3.() -> Unit)? = null): H3 @@ -355,7 +386,7 @@

DSL builder extension function.

-fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4 +fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (H4.() -> Unit)? = null): H4 @@ -364,7 +395,7 @@

DSL builder extension function.

-fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5 +fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (H5.() -> Unit)? = null): H5 @@ -373,7 +404,7 @@

DSL builder extension function.

-fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6 +fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (H6.() -> Unit)? = null): H6 @@ -382,7 +413,7 @@

DSL builder extension function.

-fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header +fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (Header.() -> Unit)? = null): Header @@ -391,7 +422,7 @@

DSL builder extension function.

-fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel +fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String>? = null, className: String? = null, init: (HPanel.() -> Unit)? = null): HPanel @@ -409,7 +440,7 @@

DSL builder extension function.

-fun Container.iframe(src: String? = null, srcdoc: String? = null, name: String? = null, iframeWidth: Int? = null, iframeHeight: Int? = null, sandbox: Set<Sandbox>? = null, classes: Set<String> = setOf(), init: (Iframe.() -> Unit)? = null): Iframe +fun Container.iframe(src: String? = null, srcdoc: String? = null, name: String? = null, iframeWidth: Int? = null, iframeHeight: Int? = null, sandbox: Set<Sandbox>? = null, classes: Set<String>? = null, className: String? = null, init: (Iframe.() -> Unit)? = null): Iframe @@ -418,7 +449,16 @@

DSL builder extension function.

-fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image +fun Container.image(src: ResString?, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String>? = null, className: String? = null, init: (Image.() -> Unit)? = null): Image + + + +(js) +

li

+ + +

DSL builder extension function.

+fun Container.li(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (Li.() -> Unit)? = null): Li @@ -427,7 +467,7 @@

DSL builder extension function.

-fun Container.link(label: String, url: String? = null, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: (Link.() -> Unit)? = null): Link +fun Container.link(label: String, url: String? = null, icon: String? = null, image: ResString? = null, separator: String? = null, labelFirst: Boolean = true, classes: Set<String>? = null, className: String? = null, init: (Link.() -> Unit)? = null): Link @@ -436,7 +476,7 @@

DSL builder extension function.

-fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag +fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String>? = null, className: String? = null, init: (ListTag.() -> Unit)? = null): ListTag @@ -445,7 +485,7 @@

DSL builder extension function.

-fun Container.main(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Main.() -> Unit)? = null): Main +fun Container.main(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (Main.() -> Unit)? = null): Main @@ -454,7 +494,16 @@

DSL builder extension function.

-fun Container.maps(lat: Number, lng: Number, zoom: Number, showMarker: Boolean = false, classes: Set<String> = setOf(), init: (Maps.() -> Unit)? = null): Maps +fun Container.maps(lat: Number, lng: Number, zoom: Number, showMarker: Boolean = false, classes: Set<String>? = null, className: String? = null, init: (Maps.() -> Unit)? = null): Maps + + + +(js) +

nav

+ + +

DSL builder extension function.

+fun Container.nav(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (Nav.() -> Unit)? = null): Nav @@ -463,7 +512,25 @@

DSL builder extension function.

-fun Container.navbar(label: String? = null, link: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, collapseOnClick: Boolean = false, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar +fun Container.navbar(label: String? = null, link: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, collapseOnClick: Boolean = false, classes: Set<String>? = null, className: String? = null, init: (Navbar.() -> Unit)? = null): Navbar + + + +(js) +

ol

+ + +

DSL builder extension function.

+fun Container.ol(elements: List<String>? = null, rich: Boolean = false, classes: Set<String>? = null, className: String? = null, init: (Ol.() -> Unit)? = null): Ol + + + +(js) +

onClick

+ + +

An extension function for defining on click event handlers.

+fun <T : Widget> T.onClick(handler: T.(MouseEvent) -> Unit): Int @@ -471,6 +538,7 @@

onEvent

+

An extension function for defining event handlers.

fun <T : Widget> T.onEvent(block: SnOn<T>.() -> Unit): Int @@ -480,7 +548,7 @@

DSL builder extension function.

-fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P +fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (P.() -> Unit)? = null): P @@ -498,7 +566,7 @@

DSL builder extension function.

-fun Container.progressBar(progress: Int, min: Int = DEFAULT_MIN, max: Int = DEFAULT_MAX, style: ProgressBarStyle? = null, striped: Boolean = false, animated: Boolean = false, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (ProgressBar.() -> Unit)? = null): ProgressBar +fun Container.progressBar(progress: Int, min: Int = DEFAULT_MIN, max: Int = DEFAULT_MAX, style: ProgressBarStyle? = null, striped: Boolean = false, animated: Boolean = false, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (ProgressBar.() -> Unit)? = null): ProgressBar @@ -534,7 +602,7 @@

DSL builder extension function.

-fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput +fun Container.radioInput(value: Boolean = false, classes: Set<String>? = null, className: String? = null, init: (CheckInput.() -> Unit)? = null): RadioInput @@ -552,7 +620,17 @@

DSL builder extension function.

-fun Container.rangeInput(value: Number? = null, min: Number = 0, max: Number = 100, step: Number = DEFAULT_STEP, classes: Set<String> = setOf(), init: (RangeInput.() -> Unit)? = null): RangeInput +fun Container.rangeInput(value: Number? = null, min: Number = 0, max: Number = 100, step: Number = DEFAULT_STEP, classes: Set<String>? = null, className: String? = null, init: (RangeInput.() -> Unit)? = null): RangeInput + + + +(js) +

react

+ + +

DSL builder extension function.

+fun <S> Container.react(state: S, classes: Set<String>? = null, className: String? = null, builder: RBuilder.(getState: () -> S, changeState: ((S) -> S) -> Unit) -> Unit): React<S>
+fun Container.react(classes: Set<String>? = null, className: String? = null, builder: RBuilder.() -> Unit): React<dynamic> @@ -601,7 +679,7 @@

DSL builder extension function.

-fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel +fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel @@ -619,7 +697,7 @@

DSL builder extension function.

-fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput +fun Container.richTextInput(value: String? = null, classes: Set<String>? = null, className: String? = null, init: (RichTextInput.() -> Unit)? = null): RichTextInput @@ -628,7 +706,7 @@

DSL builder extension function.

-fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section +fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (Section.() -> Unit)? = null): Section @@ -646,7 +724,7 @@

DSL builder extension function.

-fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput +fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String>? = null, className: String? = null, init: (SelectInput.() -> Unit)? = null): SelectInput @@ -664,7 +742,7 @@

DSL builder extension function.

-fun <T : Any> Container.selectRemoteInput(serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<RemoteOption>, stateFunction: (() -> String)? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, preload: Boolean = false, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +fun <T : Any> Container.selectRemoteInput(serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<RemoteOption>, stateFunction: (() -> String)? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, preload: Boolean = false, classes: Set<String>? = null, className: String? = null, init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> @@ -682,7 +760,7 @@

DSL builder extension function.

-fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel +fun Container.simplePanel(classes: Set<String>? = null, className: String? = null, init: (SimplePanel.() -> Unit)? = null): SimplePanel @@ -700,7 +778,7 @@

DSL builder extension function.

-fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String>? = null, className: String? = null, init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput @@ -709,7 +787,7 @@

DSL builder extension function.

-fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span +fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (Span.() -> Unit)? = null): Span @@ -727,7 +805,7 @@

DSL builder extension function.

-fun Container.spinnerInput(value: Number? = null, min: Number? = null, max: Number? = null, step: Number = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput +fun Container.spinnerInput(value: Number? = null, min: Number? = null, max: Number? = null, step: Number = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String>? = null, className: String? = null, init: (SpinnerInput.() -> Unit)? = null): SpinnerInput @@ -736,7 +814,7 @@

DSL builder extension function.

-fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel +fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String>? = null, className: String? = null, init: (SplitPanel.() -> Unit)? = null): SplitPanel @@ -745,7 +823,7 @@

DSL builder extension function.

-fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel +fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String>? = null, className: String? = null, init: (StackPanel.() -> Unit)? = null): StackPanel @@ -754,7 +832,7 @@

DSL builder extension function.

-fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> +fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> @@ -763,7 +841,7 @@

DSL builder extension function for updateable redux content.

-fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> +fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> @@ -781,7 +859,7 @@

DSL builder extension function.

-fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table +fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String>? = null, className: String? = null, init: (Table.() -> Unit)? = null): Table @@ -790,7 +868,7 @@

DSL builder extension function.

-fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel +fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String>? = null, className: String? = null, init: (TabPanel.() -> Unit)? = null): TabPanel @@ -799,11 +877,11 @@

DSL builder extension function.

-fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String>? = null, className: String? = null, init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T>

DSL builder extension function for a general observable store.

-fun <T : Any, S : Any> Container.tabulator(store: ObservableState<S>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +fun <T : Any, S : Any> Container.tabulator(store: ObservableState<S>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String>? = null, className: String? = null, init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T>

DSL builder extension function for dynamic data (send within options parameter).

-fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> +fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String>? = null, className: String? = null, init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T> @@ -812,7 +890,7 @@

DSL builder extension function.

-fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<RemoteFilter>?, List<RemoteSorter>?, String?) -> RemoteData<T>, stateFunction: (() -> String)? = null, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> +fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<RemoteFilter>?, List<RemoteSorter>?, String?) -> RemoteData<T>, stateFunction: (() -> String)? = null, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String>? = null, className: String? = null, init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E> @@ -821,7 +899,7 @@

DSL builder extension function.

-fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag +fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag @@ -848,7 +926,7 @@

DSL builder extension function.

-fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput +fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String>? = null, className: String? = null, init: (TextAreaInput.() -> Unit)? = null): TextAreaInput @@ -857,7 +935,16 @@

DSL builder extension function.

-fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String>? = null, className: String? = null, init: (TextInput.() -> Unit)? = null): TextInput + + + +(js) +

textNode

+ + +

DSL builder extension function.

+fun Container.textNode(content: String, rich: Boolean = false, init: (TextNode.() -> Unit)? = null): TextNode @@ -866,7 +953,7 @@

DSL builder extension function.

-fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar +fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String>? = null, className: String? = null, init: (Toolbar.() -> Unit)? = null): Toolbar @@ -884,7 +971,7 @@

DSL builder extension function.

-fun Container.typeaheadInput(options: List<String>? = null, taAjaxOptions: TaAjaxOptions? = null, items: Int? = 8, minLength: Int = 1, delay: Int = 0, type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TypeaheadInput.() -> Unit)? = null): TypeaheadInput +fun Container.typeaheadInput(options: List<String>? = null, taAjaxOptions: TaAjaxOptions? = null, items: Int? = 8, minLength: Int = 1, delay: Int = 0, type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String>? = null, className: String? = null, init: (TypeaheadInput.() -> Unit)? = null): TypeaheadInput @@ -902,7 +989,16 @@

DSL builder extension function.

-fun <T : Any> Container.typeaheadRemoteInput(serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?) -> List<String>, stateFunction: (() -> String)? = null, items: Int? = 8, minLength: Int = 1, delay: Int = 0, type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TypeaheadRemoteInput<T>.() -> Unit)? = null): TypeaheadRemoteInput<T> +fun <T : Any> Container.typeaheadRemoteInput(serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?) -> List<String>, stateFunction: (() -> String)? = null, items: Int? = 8, minLength: Int = 1, delay: Int = 0, type: TextInputType = TextInputType.TEXT, value: String? = null, taAjaxOptions: TaAjaxOptions? = null, classes: Set<String>? = null, className: String? = null, init: (TypeaheadRemoteInput<T>.() -> Unit)? = null): TypeaheadRemoteInput<T> + + + +(js) +

ul

+ + +

DSL builder extension function.

+fun Container.ul(elements: List<String>? = null, rich: Boolean = false, classes: Set<String>? = null, className: String? = null, init: (Ul.() -> Unit)? = null): Ul @@ -920,7 +1016,7 @@

DSL builder extension function.

-fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput +fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String>? = null, className: String? = null, init: (UploadInput.() -> Unit)? = null): UploadInput @@ -929,7 +1025,7 @@

DSL builder extension function.

-fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel +fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String>? = null, className: String? = null, init: (VPanel.() -> Unit)? = null): VPanel @@ -938,7 +1034,7 @@

DSL builder extension function.

-fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +fun Container.widget(classes: Set<String>? = null, className: String? = null, init: (Widget.() -> Unit)? = null): Widget @@ -947,7 +1043,7 @@

DSL builder extension function.

-fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +fun Container.widgetWrapper(wrapped: Component?, classes: Set<String>? = null, className: String? = null, init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper @@ -956,7 +1052,7 @@

DSL builder extension function.

-fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window +fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String>? = null, className: String? = null, init: (Window.() -> Unit)? = null): Window diff --git a/api/pl.treksoft.kvision.core/-widget/after-destroy-hook.html b/api/pl.treksoft.kvision.core/-widget/after-destroy-hook.html index e489023d..b45493ee 100644 --- a/api/pl.treksoft.kvision.core/-widget/after-destroy-hook.html +++ b/api/pl.treksoft.kvision.core/-widget/after-destroy-hook.html @@ -10,5 +10,6 @@

afterDestroyHook

(js) var afterDestroyHook: (() -> Unit)? +

A function called after the widget is removed from the DOM.

diff --git a/api/pl.treksoft.kvision.core/-widget/after-dispose-hook.html b/api/pl.treksoft.kvision.core/-widget/after-dispose-hook.html new file mode 100644 index 00000000..82d0c8f5 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-widget/after-dispose-hook.html @@ -0,0 +1,15 @@ + + + +Widget.afterDisposeHook - kvision + + + +kvision / pl.treksoft.kvision.core / Widget / afterDisposeHook
+
+

afterDisposeHook

+(js) +var afterDisposeHook: (() -> Unit)? +

A function called after the widget is disposed.

+ + diff --git a/api/pl.treksoft.kvision.core/-widget/after-insert-hook.html b/api/pl.treksoft.kvision.core/-widget/after-insert-hook.html index a5530545..9a7dbfad 100644 --- a/api/pl.treksoft.kvision.core/-widget/after-insert-hook.html +++ b/api/pl.treksoft.kvision.core/-widget/after-insert-hook.html @@ -10,5 +10,6 @@

afterInsertHook

(js) var afterInsertHook: ((VNode) -> Unit)? +

A function called after the widget is inserted to the DOM.

diff --git a/api/pl.treksoft.kvision.core/-widget/animate.html b/api/pl.treksoft.kvision.core/-widget/animate.html new file mode 100644 index 00000000..ab776d39 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-widget/animate.html @@ -0,0 +1,24 @@ + + + +Widget.animate - kvision + + + +kvision / pl.treksoft.kvision.core / Widget / animate
+
+

animate

+(js) +open fun animate(duration: Int = 400, easing: Easing = Easing.SWING, complete: (() -> Unit)? = null, styles: StyledComponent.() -> Unit): Unit +

Animate the widget changing CSS properties.

+

Parameters

+

+duration - a duration of the animation

+

+easing - an easing function to use

+

+complete - a callback function called after the animation completes

+

+styles - changing properties values

+ + diff --git a/api/pl.treksoft.kvision.core/-widget/fade-in.html b/api/pl.treksoft.kvision.core/-widget/fade-in.html new file mode 100644 index 00000000..a00063c4 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-widget/fade-in.html @@ -0,0 +1,24 @@ + + + +Widget.fadeIn - kvision + + + +kvision / pl.treksoft.kvision.core / Widget / fadeIn
+
+

fadeIn

+(js) +open fun fadeIn(duration: Int = 400, easing: Easing = Easing.SWING, complete: (() -> Unit)? = null): Widget +

Shows current widget with fade in effect.

+

Parameters

+

+duration - a duration of the animation

+

+easing - an easing function to use

+

+complete - a callback function called after the animation completes

+

Return
+current widget

+ + diff --git a/api/pl.treksoft.kvision.core/-widget/fade-out.html b/api/pl.treksoft.kvision.core/-widget/fade-out.html new file mode 100644 index 00000000..d138ca03 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-widget/fade-out.html @@ -0,0 +1,24 @@ + + + +Widget.fadeOut - kvision + + + +kvision / pl.treksoft.kvision.core / Widget / fadeOut
+
+

fadeOut

+(js) +open fun fadeOut(duration: Int = 400, easing: Easing = Easing.SWING, complete: (() -> Unit)? = null): Widget +

Hides current widget with fade out effect.

+

Parameters

+

+duration - a duration of the animation

+

+easing - an easing function to use

+

+complete - a callback function called after the animation completes

+

Return
+current widget

+ + diff --git a/api/pl.treksoft.kvision.core/-widget/hide-anim.html b/api/pl.treksoft.kvision.core/-widget/hide-anim.html new file mode 100644 index 00000000..bb1cfae2 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-widget/hide-anim.html @@ -0,0 +1,24 @@ + + + +Widget.hideAnim - kvision + + + +kvision / pl.treksoft.kvision.core / Widget / hideAnim
+
+

hideAnim

+(js) +open fun hideAnim(duration: Int = 400, easing: Easing = Easing.SWING, complete: (() -> Unit)? = null): Widget +

Hides current widget with animation effect.

+

Parameters

+

+duration - a duration of the animation

+

+easing - an easing function to use

+

+complete - a callback function called after the animation completes

+

Return
+current widget

+ + diff --git a/api/pl.treksoft.kvision.core/-widget/index.html b/api/pl.treksoft.kvision.core/-widget/index.html index 5451601e..b8a1b260 100644 --- a/api/pl.treksoft.kvision.core/-widget/index.html +++ b/api/pl.treksoft.kvision.core/-widget/index.html @@ -55,14 +55,25 @@

afterDestroyHook

+

A function called after the widget is removed from the DOM.

var afterDestroyHook: (() -> Unit)? (js) +

afterDisposeHook

+ + +

A function called after the widget is disposed.

+var afterDisposeHook: (() -> Unit)? + + + +(js)

afterInsertHook

+

A function called after the widget is inserted to the DOM.

var afterInsertHook: ((VNode) -> Unit)? @@ -247,6 +258,15 @@ (js) +

animate

+ + +

Animate the widget changing CSS properties.

+open fun animate(duration: Int = 400, easing: Easing = Easing.SWING, complete: (() -> Unit)? = null, styles: StyledComponent.() -> Unit): Unit + + + +(js)

clearDragDropData

@@ -300,6 +320,24 @@ (js) +

fadeIn

+ + +

Shows current widget with fade in effect.

+open fun fadeIn(duration: Int = 400, easing: Easing = Easing.SWING, complete: (() -> Unit)? = null): Widget + + + +(js) +

fadeOut

+ + +

Hides current widget with fade out effect.

+open fun fadeOut(duration: Int = 400, easing: Easing = Easing.SWING, complete: (() -> Unit)? = null): Widget + + + +(js)

getAttribute

@@ -381,6 +419,15 @@ (js) +

hideAnim

+ + +

Hides current widget with animation effect.

+open fun hideAnim(duration: Int = 400, easing: Easing = Easing.SWING, complete: (() -> Unit)? = null): Widget + + + +(js)

hidePopover

@@ -537,6 +584,15 @@ (js) +

showAnim

+ + +

Shows current widget with animation effect.

+open fun showAnim(duration: Int = 400, easing: Easing = Easing.SWING, complete: (() -> Unit)? = null): Widget + + + +(js)

showPopover

@@ -563,6 +619,24 @@ (js) +

slideDown

+ + +

Shows current widget with slide down effect.

+open fun slideDown(duration: Int = 400, easing: Easing = Easing.SWING, complete: (() -> Unit)? = null): Widget + + + +(js) +

slideUp

+ + +

Hides current widget with slide up effect.

+open fun slideUp(duration: Int = 400, easing: Easing = Easing.SWING, complete: (() -> Unit)? = null): Widget + + + +(js)

toggleVisible

@@ -589,6 +663,7 @@

changeFlow

+

Extension property returning Flow for a change event.

val <T : Widget> T.changeFlow: Flow<T> @@ -597,6 +672,7 @@

clickFlow

+

Extension property returning Flow for a click event.

val <T : Widget> T.clickFlow: Flow<T> @@ -605,6 +681,7 @@

inputFlow

+

Extension property returning Flow for an input event.

val <T : Widget> T.inputFlow: Flow<T> @@ -655,11 +732,20 @@ (js) +

bind

+ + +

An extension function which binds the widget to the observable state.

+fun <S, W : Widget> W.bind(observableState: ObservableState<S>, factory: W.(S) -> Unit): W + + + +(js)

contextMenu

DSL builder extension function.

-fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu +fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String>? = null, className: String? = null, init: (ContextMenu.() -> Unit)? = null): ContextMenu @@ -667,14 +753,25 @@

eventFlow

+

Extension property returning Flow<Pair<Widget, Event>> for a given event

fun <T : Widget> T.eventFlow(event: String): Flow<Pair<T, Event>> (js) +

onClick

+ + +

An extension function for defining on click event handlers.

+fun <T : Widget> T.onClick(handler: T.(MouseEvent) -> Unit): Int + + + +(js)

onEvent

+

An extension function for defining event handlers.

fun <T : Widget> T.onEvent(block: SnOn<T>.() -> Unit): Int @@ -747,16 +844,7 @@

Base class for basic text components.

-abstract class AbstractTextInput : Widget, FormInput - - - -(js) -

Button

- - -

Button component.

-open class Button : Widget +abstract class AbstractTextInput : Widget, FormInput, ObservableState<String?> @@ -783,7 +871,7 @@

The basic input component rendered as HTML input type="checkbox" or input type="radio".

-abstract class CheckInput : Widget, FormInput +abstract class CheckInput : Widget, FormInput, ObservableState<Boolean> @@ -855,7 +943,16 @@

Range input component.

-open class RangeInput : Widget, FormInput +open class RangeInput : Widget, FormInput, ObservableState<Number?> + + + +(js) +

React

+ + +

React component for KVision with support for state holder.

+class React<S> : Widget, ObservableState<S> @@ -882,7 +979,7 @@

The basic component for spinner control.

-open class SpinnerInput : Widget, FormInput +open class SpinnerInput : Widget, FormInput, ObservableState<Number?> @@ -891,7 +988,7 @@

A class which binds the given container to the observable state.

-class StateBinding<S : Any, CONT : Container, CONTENT> : Widget +class StateBinding<S : Any, CONT : Container, CONTENT> : Widget @@ -905,6 +1002,15 @@ (js) +

TextNode

+ + +

Simple component for rendering text DOM node.

+open class TextNode : Widget + + + +(js)

UploadInput

diff --git a/api/pl.treksoft.kvision.core/-widget/show-anim.html b/api/pl.treksoft.kvision.core/-widget/show-anim.html new file mode 100644 index 00000000..4f8d0231 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-widget/show-anim.html @@ -0,0 +1,24 @@ + + + +Widget.showAnim - kvision + + + +kvision / pl.treksoft.kvision.core / Widget / showAnim
+
+

showAnim

+(js) +open fun showAnim(duration: Int = 400, easing: Easing = Easing.SWING, complete: (() -> Unit)? = null): Widget +

Shows current widget with animation effect.

+

Parameters

+

+duration - a duration of the animation

+

+easing - an easing function to use

+

+complete - a callback function called after the animation completes

+

Return
+current widget

+ + diff --git a/api/pl.treksoft.kvision.core/-widget/slide-down.html b/api/pl.treksoft.kvision.core/-widget/slide-down.html new file mode 100644 index 00000000..3cf703bc --- /dev/null +++ b/api/pl.treksoft.kvision.core/-widget/slide-down.html @@ -0,0 +1,24 @@ + + + +Widget.slideDown - kvision + + + +kvision / pl.treksoft.kvision.core / Widget / slideDown
+
+

slideDown

+(js) +open fun slideDown(duration: Int = 400, easing: Easing = Easing.SWING, complete: (() -> Unit)? = null): Widget +

Shows current widget with slide down effect.

+

Parameters

+

+duration - a duration of the animation

+

+easing - an easing function to use

+

+complete - a callback function called after the animation completes

+

Return
+current widget

+ + diff --git a/api/pl.treksoft.kvision.core/-widget/slide-up.html b/api/pl.treksoft.kvision.core/-widget/slide-up.html new file mode 100644 index 00000000..298fac17 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-widget/slide-up.html @@ -0,0 +1,24 @@ + + + +Widget.slideUp - kvision + + + +kvision / pl.treksoft.kvision.core / Widget / slideUp
+
+

slideUp

+(js) +open fun slideUp(duration: Int = 400, easing: Easing = Easing.SWING, complete: (() -> Unit)? = null): Widget +

Hides current widget with slide up effect.

+

Parameters

+

+duration - a duration of the animation

+

+easing - an easing function to use

+

+complete - a callback function called after the animation completes

+

Return
+current widget

+ + diff --git a/api/pl.treksoft.kvision.core/index.html b/api/pl.treksoft.kvision.core/index.html index bc083fab..640b2b80 100644 --- a/api/pl.treksoft.kvision.core/index.html +++ b/api/pl.treksoft.kvision.core/index.html @@ -200,6 +200,14 @@ backgrounds, fonts, text and position) and the main Widget class.

(js) +

Easing

+ + +enum class Easing + + + +(js)

FontStyle

@@ -533,9 +541,19 @@ backgrounds, fonts, text and position) and the main Widget class.

(js) +

onClick

+ + +

An extension function for defining on click event handlers.

+fun <T : Widget> T.onClick(handler: T.(MouseEvent) -> Unit): Int + + + +(js)

onEvent

+

An extension function for defining event handlers.

fun <T : Widget> T.onEvent(block: SnOn<T>.() -> Unit): Int @@ -607,7 +625,7 @@ backgrounds, fonts, text and position) and the main Widget class.

DSL builder extension function.

-fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +fun Container.widget(classes: Set<String>? = null, className: String? = null, init: (Widget.() -> Unit)? = null): Widget @@ -616,7 +634,7 @@ backgrounds, fonts, text and position) and the main Widget class.

DSL builder extension function.

-fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +fun Container.widgetWrapper(wrapped: Component?, classes: Set<String>? = null, className: String? = null, init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper diff --git a/api/pl.treksoft.kvision.core/on-click.html b/api/pl.treksoft.kvision.core/on-click.html new file mode 100644 index 00000000..5de56d78 --- /dev/null +++ b/api/pl.treksoft.kvision.core/on-click.html @@ -0,0 +1,15 @@ + + + +onClick - kvision + + + +kvision / pl.treksoft.kvision.core / onClick
+
+

onClick

+(js) +inline fun <reified T : Widget> T.onClick(noinline handler: T.(MouseEvent) -> Unit): Int +

An extension function for defining on click event handlers.

+ + diff --git a/api/pl.treksoft.kvision.core/on-event.html b/api/pl.treksoft.kvision.core/on-event.html index 42a11ec4..2bfe86b9 100644 --- a/api/pl.treksoft.kvision.core/on-event.html +++ b/api/pl.treksoft.kvision.core/on-event.html @@ -10,5 +10,6 @@

onEvent

(js) inline fun <reified T : Widget> T.onEvent(noinline block: SnOn<T>.() -> Unit): Int +

An extension function for defining event handlers.

diff --git a/api/pl.treksoft.kvision.core/widget-wrapper.html b/api/pl.treksoft.kvision.core/widget-wrapper.html index 338ae09c..ea3f8183 100644 --- a/api/pl.treksoft.kvision.core/widget-wrapper.html +++ b/api/pl.treksoft.kvision.core/widget-wrapper.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.core / widgetWrapper

widgetWrapper

-(js) -fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +(js) +fun Container.widgetWrapper(wrapped: Component?, classes: Set<String>? = null, className: String? = null, init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper

DSL builder extension function.

It takes the same parameters as the constructor of the built component.

diff --git a/api/pl.treksoft.kvision.core/widget.html b/api/pl.treksoft.kvision.core/widget.html index c773266a..a1784194 100644 --- a/api/pl.treksoft.kvision.core/widget.html +++ b/api/pl.treksoft.kvision.core/widget.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.core / widget

widget

-(js) -fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +(js) +fun Container.widget(classes: Set<String>? = null, className: String? = null, init: (Widget.() -> Unit)? = null): Widget

DSL builder extension function.

It takes the same parameters as the constructor of the built component.

-- cgit