From 806edfceeefe7fda47924f97237974e99fe28a02 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Mon, 2 Apr 2018 01:35:47 +0200 Subject: API documentantion update --- .../-text/-init-.html | 8 +++--- api/pl.treksoft.kvision.form.text/-text/index.html | 31 ++-------------------- api/pl.treksoft.kvision.form.text/-text/text.html | 4 +-- 3 files changed, 9 insertions(+), 34 deletions(-) (limited to 'api/pl.treksoft.kvision.form.text/-text') diff --git a/api/pl.treksoft.kvision.form.text/-text/-init-.html b/api/pl.treksoft.kvision.form.text/-text/-init-.html index 8f3af2ba..84a300ac 100644 --- a/api/pl.treksoft.kvision.form.text/-text/-init-.html +++ b/api/pl.treksoft.kvision.form.text/-text/-init-.html @@ -8,17 +8,19 @@ kvision / pl.treksoft.kvision.form.text / Text / <init>

<init>

- -Text(type: TextInputType = TextInputType.TEXT, value: String? = null, label: String? = null, rich: Boolean = false) + +Text(type: TextInputType = TextInputType.TEXT, value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false)

Parameters

type - text input type (default "text")

value - text input value

+

+name - the name attribute of the generated HTML input element

label - label text bound to the input element

-rich - determines if label can contain HTML code

+rich - determines if label can contain HTML code

Constructor

diff --git a/api/pl.treksoft.kvision.form.text/-text/index.html b/api/pl.treksoft.kvision.form.text/-text/index.html index d05d0542..e78ccda6 100644 --- a/api/pl.treksoft.kvision.form.text/-text/index.html +++ b/api/pl.treksoft.kvision.form.text/-text/index.html @@ -18,7 +18,7 @@

<init>

-Text(type: TextInputType = TextInputType.TEXT, value: String? = null, label: String? = null, rich: Boolean = false) +Text(type: TextInputType = TextInputType.TEXT, value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false) @@ -68,15 +68,6 @@ -

disabled

- - -open var disabled: Boolean -

Determines if the field is disabled.

- - - -

flabel

@@ -104,15 +95,6 @@ -

name

- - -var name: String? -

The name attribute of the generated HTML input element.

- - - -

placeholder

@@ -140,15 +122,6 @@ -

size

- - -open var size: InputSize? -

Input control size.

- - - -

startValue

@@ -236,7 +209,7 @@

text

-fun Container.text(type: TextInputType = TextInputType.TEXT, value: String? = null, label: String? = null, rich: Boolean = false, init: Text.() -> Unit = null): Text +fun Container.text(type: TextInputType = TextInputType.TEXT, value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: Text.() -> Unit = null): Text

DSL builder extension function.

diff --git a/api/pl.treksoft.kvision.form.text/-text/text.html b/api/pl.treksoft.kvision.form.text/-text/text.html index e31c5839..3c06ae61 100644 --- a/api/pl.treksoft.kvision.form.text/-text/text.html +++ b/api/pl.treksoft.kvision.form.text/-text/text.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.form.text / Text / text

text

- -fun Container.text(type: TextInputType = TextInputType.TEXT, value: String? = null, label: String? = null, rich: Boolean = false, init: Text.() -> Unit = null): Text + +fun Container.text(type: TextInputType = TextInputType.TEXT, value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: Text.() -> Unit = null): Text

DSL builder extension function.

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

-- cgit