From fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sat, 26 Oct 2019 00:17:24 +0200 Subject: API documentation for KVision 2.0.0 --- api/pl.treksoft.kvision.form/index.html | 47 ++++++++++++++++++++++++++++++--- 1 file changed, 44 insertions(+), 3 deletions(-) (limited to 'api/pl.treksoft.kvision.form/index.html') diff --git a/api/pl.treksoft.kvision.form/index.html b/api/pl.treksoft.kvision.form/index.html index 67028c16..f4e9a173 100644 --- a/api/pl.treksoft.kvision.form/index.html +++ b/api/pl.treksoft.kvision.form/index.html @@ -112,11 +112,11 @@ validation.

-

HelpBlock

+

HelpText

-open class HelpBlock : Tag -

Helper class for Bootstrap help block element.

+open class HelpText : Tag +

Helper class for Bootstrap help text element.

@@ -130,6 +130,15 @@ validation.

+

InvalidFeedback

+ + +open class InvalidFeedback : Tag +

Helper class for Bootstrap invalid feedback element.

+ + + +

KFilesFormControl

@@ -155,6 +164,15 @@ validation.

Base interface of a form control with a text value.

+ + +

ValidationStatus

+ + +enum class ValidationStatus +

Input controls validation status.

+ +

Extensions for External Classes

@@ -176,5 +194,28 @@ validation.

+

Functions

+ + + + + + + + + + + +
+

fieldLabel

+
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel +

DSL builder extension function.

+
+

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

DSL builder extension function.

+
-- cgit