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 --- .../-radio-group/-init-.html | 8 +++++--- .../-radio-group/index.html | 17 +++++++++++++---- .../-radio-group/input.html | 2 +- .../-radio-group/name.html | 16 ++++++++++++++++ .../-radio-group/radio-group.html | 4 ++-- .../-radio-group/size.html | 2 +- 6 files changed, 38 insertions(+), 11 deletions(-) create mode 100644 api/pl.treksoft.kvision.form.check/-radio-group/name.html (limited to 'api/pl.treksoft.kvision.form.check/-radio-group') diff --git a/api/pl.treksoft.kvision.form.check/-radio-group/-init-.html b/api/pl.treksoft.kvision.form.check/-radio-group/-init-.html index 267e08e9..32159b19 100644 --- a/api/pl.treksoft.kvision.form.check/-radio-group/-init-.html +++ b/api/pl.treksoft.kvision.form.check/-radio-group/-init-.html @@ -8,19 +8,21 @@ kvision / pl.treksoft.kvision.form.check / RadioGroup / <init>

<init>

- -RadioGroup(options: List<StringPair>? = null, value: String? = null, inline: Boolean = false, label: String? = null, rich: Boolean = false) + +RadioGroup(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, label: String? = null, rich: Boolean = false)

Parameters

options - an optional list of options (label to value pairs) for the group

value - selected option

+

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

inline - determines if the options are rendered inline

label - label text of the options group

-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.check/-radio-group/index.html b/api/pl.treksoft.kvision.form.check/-radio-group/index.html index 2e789c4e..d1775942 100644 --- a/api/pl.treksoft.kvision.form.check/-radio-group/index.html +++ b/api/pl.treksoft.kvision.form.check/-radio-group/index.html @@ -20,7 +20,7 @@

<init>

-RadioGroup(options: List<StringPair>? = null, value: String? = null, inline: Boolean = false, label: String? = null, rich: Boolean = false) +RadioGroup(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, label: String? = null, rich: Boolean = false) @@ -59,7 +59,7 @@

input

-val input: Widget +val input: CheckInput

The actual input component.

@@ -74,6 +74,15 @@ +

name

+ + +open var name: String? +

The name attribute of the generated HTML input element.

+ + + +

options

@@ -96,7 +105,7 @@ open var size: InputSize? -

Input control size.

+

Input control field size.

@@ -263,7 +272,7 @@

radioGroup

-fun Container.radioGroup(options: List<StringPair>? = null, value: String? = null, inline: Boolean = false, label: String? = null, rich: Boolean = false, init: RadioGroup.() -> Unit = null): RadioGroup +fun Container.radioGroup(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, label: String? = null, rich: Boolean = false, init: RadioGroup.() -> Unit = null): RadioGroup

DSL builder extension function.

diff --git a/api/pl.treksoft.kvision.form.check/-radio-group/input.html b/api/pl.treksoft.kvision.form.check/-radio-group/input.html index f5842e92..3b1eccae 100644 --- a/api/pl.treksoft.kvision.form.check/-radio-group/input.html +++ b/api/pl.treksoft.kvision.form.check/-radio-group/input.html @@ -9,7 +9,7 @@

input

-val input: Widget +val input: CheckInput

Overrides FormControl.input

The actual input component.

diff --git a/api/pl.treksoft.kvision.form.check/-radio-group/name.html b/api/pl.treksoft.kvision.form.check/-radio-group/name.html new file mode 100644 index 00000000..299928b9 --- /dev/null +++ b/api/pl.treksoft.kvision.form.check/-radio-group/name.html @@ -0,0 +1,16 @@ + + + +RadioGroup.name - kvision + + + +kvision / pl.treksoft.kvision.form.check / RadioGroup / name
+
+

name

+ +open var name: String? +

Overrides FormControl.name

+

The name attribute of the generated HTML input element.

+ + diff --git a/api/pl.treksoft.kvision.form.check/-radio-group/radio-group.html b/api/pl.treksoft.kvision.form.check/-radio-group/radio-group.html index 9d979e1a..aa1a0741 100644 --- a/api/pl.treksoft.kvision.form.check/-radio-group/radio-group.html +++ b/api/pl.treksoft.kvision.form.check/-radio-group/radio-group.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.form.check / RadioGroup / radioGroup

radioGroup

- -fun Container.radioGroup(options: List<StringPair>? = null, value: String? = null, inline: Boolean = false, label: String? = null, rich: Boolean = false, init: RadioGroup.() -> Unit = null): RadioGroup + +fun Container.radioGroup(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, label: String? = null, rich: Boolean = false, init: RadioGroup.() -> Unit = null): RadioGroup

DSL builder extension function.

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

diff --git a/api/pl.treksoft.kvision.form.check/-radio-group/size.html b/api/pl.treksoft.kvision.form.check/-radio-group/size.html index 24559715..9479e05e 100644 --- a/api/pl.treksoft.kvision.form.check/-radio-group/size.html +++ b/api/pl.treksoft.kvision.form.check/-radio-group/size.html @@ -11,6 +11,6 @@ open var size: InputSize?

Overrides FormControl.size

-

Input control size.

+

Input control field size.

-- cgit