From fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb Mon Sep 17 00:00:00 2001
From: Robert Jaros
<init>
-
-FormPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, classes: Set<String> = setOf(), serializer: KSerializer<K>)
+
+FormPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), serializer: KSerializer<K>)
Parameters
@@ -21,6 +21,8 @@
enctype
- form encoding type
+condensed
- determines if the form is condensed.
classes
- set of CSS class names
diff --git a/api/pl.treksoft.kvision.form/-form-panel/condensed.html b/api/pl.treksoft.kvision.form/-form-panel/condensed.html new file mode 100644 index 00000000..a8af1f1e --- /dev/null +++ b/api/pl.treksoft.kvision.form/-form-panel/condensed.html @@ -0,0 +1,21 @@ + +
+ +var condensed: Boolean
+Determines if the form is condensed.
+Getter
+
Determines if the form is condensed.
+ +Setter
+
Determines if the form is condensed.
+ + + diff --git a/api/pl.treksoft.kvision.form/-form-panel/create.html b/api/pl.treksoft.kvision.form/-form-panel/create.html index eebfe203..a0bbec40 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 / createinline fun <reified K : Any> create(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, 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, classes: Set<String> = setOf(), noinline init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K>