From fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb Mon Sep 17 00:00:00 2001
From: Robert Jaros Returns file with the content read.
-
- Return
-
-getContent
-
-suspend fun <K : Any> Form<K>.getContent(key: KProperty1<K, List<KFile>?>, kFile: KFile): KFile
-
-suspend fun <K : Any> FormPanel<K>.getContent(key: KProperty1<K, List<KFile>?>, kFile: KFile): KFile
-Parameters
-key - key identifier of the controlkFile - object identifying the file
-KFile object
open var validationStatus: ValidationStatus?
+The validation status of the input.
+var tabindex: Int?
+A tabindex attribute of generated HTML element.
+open fun setContextMenu(contextMenu: ContextMenu): Widget
-Sets context menu for the current widget.
-| - + + | +
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit |
+
| + |
-suspend fun <K : Any> Form<K>.getContent(key: KProperty1<K, List<KFile>?>, kFile: KFile): KFile- suspend fun <K : Any> FormPanel<K>.getContent(key: KProperty1<K, List<KFile>?>, kFile: KFile): KFile
-Returns file with the content read. +fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit |
+
| + | +
+fun Component.addBsClearfix(): Unit |
| - + |
-fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput
+fun Component.addBsColor(bsColor: BsColor): Unit |
+
| + + | +
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit |
+
| + + | +
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu
DSL builder extension function. |
|
@@ -819,6 +848,59 @@ If not set the upload button action will default to form submission.
Helper function for creating JavaScript objects from dynamic constructors. |
|
| + + | +
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit |
+
| + + | +
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit |
+
| + + | +
+fun Component.removeBsClearfix(): Unit |
+
| + + | +
+fun Component.removeBsColor(bsColor: BsColor): Unit |
+
| + + | +
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit |
+
| + + | +
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget
+Sets context menu for the current widget. + |
+
| + + | +
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style
+DSL builder extension function. + |
+
fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput
-DSL builder extension function.
-It takes the same parameters as the constructor of the built component.
-diff --git a/api/pl.treksoft.kvision.form.upload/-upload-input/upload-input.html b/api/pl.treksoft.kvision.form.upload/-upload-input/upload-input.html deleted file mode 100644 index 99f9a13a..00000000 --- a/api/pl.treksoft.kvision.form.upload/-upload-input/upload-input.html +++ /dev/null @@ -1,16 +0,0 @@ - -
- -
- - -
-