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.html/index.html | 154 +++++++++++++++++++++++++++----- 1 file changed, 131 insertions(+), 23 deletions(-) (limited to 'api/pl.treksoft.kvision.html/index.html') diff --git a/api/pl.treksoft.kvision.html/index.html b/api/pl.treksoft.kvision.html/index.html index 5116d1d8..58b3b80b 100644 --- a/api/pl.treksoft.kvision.html/index.html +++ b/api/pl.treksoft.kvision.html/index.html @@ -38,7 +38,7 @@ Support for Handlebars.js templates is included.

Button component.

-open class Button : Widget +open class Button : SimplePanel @@ -97,6 +97,15 @@ Support for Handlebars.js templates is included.

(js) +

Fieldset

+ + +

Simple component rendered as fieldset.

+open class Fieldset : Tag + + + +(js)

Footer

@@ -205,6 +214,15 @@ Support for Handlebars.js templates is included.

(js) +

Li

+ + +

Simple component rendered as li.

+open class Li : Tag + + + +(js)

Link

@@ -241,6 +259,24 @@ Support for Handlebars.js templates is included.

(js) +

Nav

+ + +

Simple component rendered as nav.

+open class Nav : Tag + + + +(js) +

Ol

+ + +

Simple component rendered as ol.

+open class Ol : ListTag + + + +(js)

P

@@ -301,6 +337,24 @@ Support for Handlebars.js templates is included.

Handlebars templates helper interface.

interface Template + + +(js) +

TextNode

+ + +

Simple component for rendering text DOM node.

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

Ul

+ + +

Simple component rendered as ul.

+open class Ul : ListTag +

Functions

@@ -313,7 +367,7 @@ Support for Handlebars.js templates is included.

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 @@ -322,7 +376,7 @@ Support for Handlebars.js templates is included.

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 @@ -331,7 +385,7 @@ Support for Handlebars.js templates is included.

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 @@ -340,7 +394,7 @@ Support for Handlebars.js templates is included.

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 @@ -349,7 +403,16 @@ Support for Handlebars.js templates is included.

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 + + + +(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 @@ -358,7 +421,7 @@ Support for Handlebars.js templates is included.

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 @@ -367,7 +430,7 @@ Support for Handlebars.js templates is included.

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(