From 76c1fff00042ff1b5d524ee414dc6d28f7658c69 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Wed, 6 Nov 2019 00:01:19 +0100 Subject: API documentation for KVision 2.2.0 --- .../-form-panel/-init-.html | 6 ++++-- .../-form-panel/create.html | 4 ++-- .../-form-panel/horiz-ratio.html | 21 +++++++++++++++++++++ api/pl.treksoft.kvision.form/-form-panel/index.html | 19 ++++++++++++++----- 4 files changed, 41 insertions(+), 9 deletions(-) create mode 100644 api/pl.treksoft.kvision.form/-form-panel/horiz-ratio.html (limited to 'api/pl.treksoft.kvision.form/-form-panel') diff --git a/api/pl.treksoft.kvision.form/-form-panel/-init-.html b/api/pl.treksoft.kvision.form/-form-panel/-init-.html index 95b6ea03..97ad93ee 100644 --- a/api/pl.treksoft.kvision.form/-form-panel/-init-.html +++ b/api/pl.treksoft.kvision.form/-form-panel/-init-.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.form / FormPanel / <init>

<init>

- -FormPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), serializer: KSerializer<K>) + +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(), serializer: KSerializer<K>)

Parameters

K - model class type

@@ -23,6 +23,8 @@ type - form layout

condensed - determines if the form is condensed.

+

+horizRatio - horizontal form layout ratio

classes - set of CSS class names

diff --git a/api/pl.treksoft.kvision.form/-form-panel/create.html b/api/pl.treksoft.kvision.form/-form-panel/create.html index a0bbec40..f1fba628 100644 --- a/api/pl.treksoft.kvision.form/-form-panel/create.html +++ b/api/pl.treksoft.kvision.form/-form-panel/create.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.form / FormPanel / create

create

- -inline fun <reified K : Any> create(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), noinline init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> + +inline fun <reified K : Any> create(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, horizRatio: FormHorizontalRatio = FormHorizontalRatio.RATIO_2, classes: Set<String> = setOf(), noinline init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> diff --git a/api/pl.treksoft.kvision.form/-form-panel/horiz-ratio.html b/api/pl.treksoft.kvision.form/-form-panel/horiz-ratio.html new file mode 100644 index 00000000..040bc25c --- /dev/null +++ b/api/pl.treksoft.kvision.form/-form-panel/horiz-ratio.html @@ -0,0 +1,21 @@ + + + +FormPanel.horizRatio - kvision + + + +kvision / pl.treksoft.kvision.form / FormPanel / horizRatio
+
+

horizRatio

+ +var horizRatio: FormHorizontalRatio +

Horizontal form layout ratio.

+

Getter
+

Horizontal form layout ratio.

+

+

Setter
+

Horizontal form layout ratio.

+

+ + diff --git a/api/pl.treksoft.kvision.form/-form-panel/index.html b/api/pl.treksoft.kvision.form/-form-panel/index.html index dfef50c0..96be78ab 100644 --- a/api/pl.treksoft.kvision.form/-form-panel/index.html +++ b/api/pl.treksoft.kvision.form/-form-panel/index.html @@ -18,7 +18,7 @@

<init>

-FormPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), serializer: KSerializer<K>) +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(), serializer: KSerializer<K>) @@ -63,6 +63,15 @@ +

horizRatio

+ + +var horizRatio: FormHorizontalRatio +

Horizontal form layout ratio.

+ + + +

method

@@ -333,7 +342,7 @@

create

-fun <K : Any> create(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> +fun <K : Any> create(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, horizRatio: FormHorizontalRatio = FormHorizontalRatio.RATIO_2, classes: Set<String> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K> @@ -544,7 +553,7 @@

formPanel

-fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), 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> = setOf(), init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K>

DSL builder extension function.

@@ -858,7 +867,7 @@

selectRemote

-fun <T : Any> Container.selectRemote(value: String? = null,