From a70acf853de62d0754ca95aa4103712b82afdef8 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Wed, 17 Oct 2018 18:40:15 +0200 Subject: API Documentation for KVision 0.0.18 --- .../-upload-input/index.html | 35 ++++++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) (limited to 'api/pl.treksoft.kvision.form.upload/-upload-input/index.html') diff --git a/api/pl.treksoft.kvision.form.upload/-upload-input/index.html b/api/pl.treksoft.kvision.form.upload/-upload-input/index.html index 24f28df5..8d0d91c4 100644 --- a/api/pl.treksoft.kvision.form.upload/-upload-input/index.html +++ b/api/pl.treksoft.kvision.form.upload/-upload-input/index.html @@ -202,7 +202,7 @@ If not set the upload button action will default to form submission.

value

-var value: List<KFile>? +var value: List<KFile>?

File input value.

@@ -222,6 +222,13 @@ If not set the upload button action will default to form submission.

+

eventTarget

+ + +var eventTarget: Widget? + + +

id

@@ -256,6 +263,13 @@ If not set the upload button action will default to form submission.

+

surroundingSpan

+ + +var surroundingSpan: Boolean + + +

title

@@ -336,7 +350,7 @@ If not set the upload button action will default to form submission.

getNativeFile

-fun getNativeFile(kFile: KFile): File? +fun getNativeFile(kFile: KFile): File?

Returns the native JavaScript File object.

@@ -464,6 +478,13 @@ If not set the upload button action will default to form submission.

+

dispatchEvent

+ + +open fun dispatchEvent(type: String, eventInitDict: CustomEventInit): Boolean? + + +

getElement

@@ -633,6 +654,16 @@ If not set the upload button action will default to form submission.

+

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.

+ + + +

uploadInput

-- cgit