From 0365722f8549ee93918be99da1b9f901cf0b2c8d Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Fri, 13 Mar 2020 01:05:20 +0100 Subject: API documentation for KVision 3.5.2 --- api/pl.treksoft.kvision.form.upload/index.html | 32 +++++++++++++------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'api/pl.treksoft.kvision.form.upload/index.html') diff --git a/api/pl.treksoft.kvision.form.upload/index.html b/api/pl.treksoft.kvision.form.upload/index.html index 9c611576..6ce737ac 100644 --- a/api/pl.treksoft.kvision.form.upload/index.html +++ b/api/pl.treksoft.kvision.form.upload/index.html @@ -14,21 +14,21 @@ -

Upload

+(js) +

Upload

-open class Upload : SimplePanel, KFilesFormControl

The form field file upload component.

- +open class Upload : SimplePanel, KFilesFormControl -

UploadInput

+(js) +

UploadInput

-open class UploadInput : Widget, FormInput

The file upload component.

- +open class UploadInput : Widget, FormInput @@ -37,31 +37,31 @@ -

getContent

+(js) +

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

Returns file with the content read.

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

upload

+(js) +

upload

-fun Container.upload(uploadUrl: String? = null, multiple: Boolean = false, label: String? = null, rich: Boolean = false, init: (Upload.() -> Unit)? = null): Upload

DSL builder extension function.

- +fun Container.upload(uploadUrl: String? = null, multiple: Boolean = false, label: String? = null, rich: Boolean = false, init: (Upload.() -> Unit)? = null): Upload -

uploadInput

+(js) +

uploadInput

-fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput

DSL builder extension function.

- +fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput -- cgit