From 0a6e242e88964d2049f2ec5de78ed84c54a856a7 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Fri, 27 Mar 2020 23:00:56 +0100 Subject: API documentation for KVision 3.6.0 --- api/pl.treksoft.kvision.html/-bold/index.html | 11 +- .../-custom-tag/-init-.html | 31 + .../-custom-tag/element-name.html | 21 + .../-custom-tag/index.html | 975 +++++++++++++++++++++ .../-custom-tag/render.html | 22 + api/pl.treksoft.kvision.html/-div/index.html | 11 +- api/pl.treksoft.kvision.html/-footer/index.html | 11 +- api/pl.treksoft.kvision.html/-h1/index.html | 11 +- api/pl.treksoft.kvision.html/-h2/index.html | 11 +- api/pl.treksoft.kvision.html/-h3/index.html | 11 +- api/pl.treksoft.kvision.html/-h4/index.html | 11 +- api/pl.treksoft.kvision.html/-h5/index.html | 11 +- api/pl.treksoft.kvision.html/-h6/index.html | 11 +- api/pl.treksoft.kvision.html/-header/index.html | 11 +- api/pl.treksoft.kvision.html/-icon/index.html | 11 +- api/pl.treksoft.kvision.html/-link/index.html | 11 +- api/pl.treksoft.kvision.html/-list-tag/index.html | 11 +- api/pl.treksoft.kvision.html/-main/index.html | 11 +- api/pl.treksoft.kvision.html/-p/index.html | 11 +- api/pl.treksoft.kvision.html/-section/index.html | 11 +- api/pl.treksoft.kvision.html/-span/index.html | 11 +- api/pl.treksoft.kvision.html/-t-a-g/-a.html | 14 + api/pl.treksoft.kvision.html/-t-a-g/index.html | 8 + api/pl.treksoft.kvision.html/-tag/index.html | 20 +- api/pl.treksoft.kvision.html/custom-tag.html | 16 + api/pl.treksoft.kvision.html/index.html | 18 + 26 files changed, 1294 insertions(+), 18 deletions(-) create mode 100644 api/pl.treksoft.kvision.html/-custom-tag/-init-.html create mode 100644 api/pl.treksoft.kvision.html/-custom-tag/element-name.html create mode 100644 api/pl.treksoft.kvision.html/-custom-tag/index.html create mode 100644 api/pl.treksoft.kvision.html/-custom-tag/render.html create mode 100644 api/pl.treksoft.kvision.html/-t-a-g/-a.html create mode 100644 api/pl.treksoft.kvision.html/custom-tag.html (limited to 'api/pl.treksoft.kvision.html') diff --git a/api/pl.treksoft.kvision.html/-bold/index.html b/api/pl.treksoft.kvision.html/-bold/index.html index 303fe823..fd90be3e 100644 --- a/api/pl.treksoft.kvision.html/-bold/index.html +++ b/api/pl.treksoft.kvision.html/-bold/index.html @@ -170,6 +170,15 @@ (js) +

customTag

+ + +

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 + + + +(js)

dataContainer

@@ -418,7 +427,7 @@

DSL builder extension function.

-fun Container.maps(lat: Number, lng: Number, zoom: Number, classes: Set<String> = setOf(), init: (Maps.() -> Unit)? = null): Maps +fun Container.maps(lat: Number, lng: Number, zoom: Number, showMarker: Boolean = false, classes: Set<String> = setOf(), init: (Maps.() -> Unit)? = null): Maps diff --git a/api/pl.treksoft.kvision.html/-custom-tag/-init-.html b/api/pl.treksoft.kvision.html/-custom-tag/-init-.html new file mode 100644 index 00000000..ef7d697c --- /dev/null +++ b/api/pl.treksoft.kvision.html/-custom-tag/-init-.html @@ -0,0 +1,31 @@ + + + +CustomTag.<init> - kvision + + + +kvision / pl.treksoft.kvision.html / CustomTag / <init>
+
+

<init>

+(js) +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) +

Parameters

+

+elementName - element name

+

+content - element text

+

+rich - determines if content can contain HTML code

+

+align - content align

+

+classes - a set of CSS class names

+

+attributes - a map of additional attributes

+

+init - an initializer extension function

+

Constructor
+

+ + diff --git a/api/pl.treksoft.kvision.html/-custom-tag/element-name.html b/api/pl.treksoft.kvision.html/-custom-tag/element-name.html new file mode 100644 index 00000000..cee0304f --- /dev/null +++ b/api/pl.treksoft.kvision.html/-custom-tag/element-name.html @@ -0,0 +1,21 @@ + + + +CustomTag.elementName - kvision + + + +kvision / pl.treksoft.kvision.html / CustomTag / elementName
+
+

elementName

+(js) +var elementName: String +

HTML element name.

+

Getter
+

HTML element name.

+

+

Setter
+

HTML element name.

+

+ + diff --git a/api/pl.treksoft.kvision.html/-custom-tag/index.html b/api/pl.treksoft.kvision.html/-custom-tag/index.html new file mode 100644 index 00000000..7f456225 --- /dev/null +++ b/api/pl.treksoft.kvision.html/-custom-tag/index.html @@ -0,0 +1,975 @@ + + + +CustomTag - kvision + + + +kvision / pl.treksoft.kvision.html / CustomTag
+
+

CustomTag

+(js) open class CustomTag : Tag +

HTML custom tag component.

+

Constructors

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

<init>

+
+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)
+

Properties

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

elementName

+
+

HTML element name.

+var elementName: String
+

Functions

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

render

+
+

Renders current component as a Snabbdom vnode.

+open fun render(elementName: String, children: Array<dynamic>): VNode
+

Extension Properties

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

changeFlow

+
+val <T : Widget> T.changeFlow: Flow<T>
+(js) +

clickFlow

+
+val <T : Widget> T.clickFlow: Flow<T>
+(js) +

inputFlow

+
+val <T : Widget> T.inputFlow: Flow<T>
+

Extension Functions

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

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+(js) +

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+(js) +

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+(js) +

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+(js) +

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+(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
+(js) +

button

+
+

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
+(js) +

buttonGroup

+
+

DSL builder extension function.

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

canvas

+
+

DSL builder extension function.

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

chart

+
+

DSL builder extension function.

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

checkBox

+
+

DSL builder extension function.

+fun Container.checkBox(value: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (CheckBox.() -> Unit)? = null): CheckBox
+(js) +

checkBoxInput

+
+

DSL builder extension function.

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

contextMenu

+
+

DSL builder extension function.

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

customTag

+
+

DSL builder extension function.

+fun Container.customTag(elementName: String, content: String? = null,