From 12d2bd198c9ff5cb197e50da2d024a2418b8ee36 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sat, 2 Jun 2018 00:47:15 +0200 Subject: Upgrade to 0.0.13 --- .../-upload/-init-.html | 2 +- .../-upload/get-native-file.html | 20 ++++++++++++++++++++ .../-upload/get-value-as-string.html | 2 +- .../-upload/index.html | 21 +++++++++++++++------ .../-upload/value.html | 4 ++-- 5 files changed, 39 insertions(+), 10 deletions(-) create mode 100644 api/pl.treksoft.kvision.form.upload/-upload/get-native-file.html (limited to 'api/pl.treksoft.kvision.form.upload/-upload') diff --git a/api/pl.treksoft.kvision.form.upload/-upload/-init-.html b/api/pl.treksoft.kvision.form.upload/-upload/-init-.html index bec7108c..0978761d 100644 --- a/api/pl.treksoft.kvision.form.upload/-upload/-init-.html +++ b/api/pl.treksoft.kvision.form.upload/-upload/-init-.html @@ -18,7 +18,7 @@

label - label text bound to the input element

-rich - determines if label can contain HTML code

+rich - determines if label can contain HTML code

Constructor

diff --git a/api/pl.treksoft.kvision.form.upload/-upload/get-native-file.html b/api/pl.treksoft.kvision.form.upload/-upload/get-native-file.html new file mode 100644 index 00000000..6ce31311 --- /dev/null +++ b/api/pl.treksoft.kvision.form.upload/-upload/get-native-file.html @@ -0,0 +1,20 @@ + + + +Upload.getNativeFile - kvision + + + +kvision / pl.treksoft.kvision.form.upload / Upload / getNativeFile
+
+

getNativeFile

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

Returns the native JavaScript File object.

+

Parameters

+

+kFile - KFile object

+

Return
+File object

+ + diff --git a/api/pl.treksoft.kvision.form.upload/-upload/get-value-as-string.html b/api/pl.treksoft.kvision.form.upload/-upload/get-value-as-string.html index 75533699..815a7838 100644 --- a/api/pl.treksoft.kvision.form.upload/-upload/get-value-as-string.html +++ b/api/pl.treksoft.kvision.form.upload/-upload/get-value-as-string.html @@ -10,7 +10,7 @@

getValueAsString

open fun getValueAsString(): String? -

Overrides FilesFormControl.getValueAsString

+

Overrides KFilesFormControl.getValueAsString

Returns the value of the control as a String.

diff --git a/api/pl.treksoft.kvision.form.upload/-upload/index.html b/api/pl.treksoft.kvision.form.upload/-upload/index.html index 157d652a..f541a377 100644 --- a/api/pl.treksoft.kvision.form.upload/-upload/index.html +++ b/api/pl.treksoft.kvision.form.upload/-upload/index.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.form.upload / Upload

Upload

-open class Upload : SimplePanel, FilesFormControl +open class Upload : SimplePanel, KFilesFormControl

The form field file upload component.

Constructors

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

value

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

+ + + + @@ -434,10 +443,10 @@ If not set the upload button action will default to form submission.

diff --git a/api/pl.treksoft.kvision.form.upload/-upload/value.html b/api/pl.treksoft.kvision.form.upload/-upload/value.html index 30d1105f..0be26286 100644 --- a/api/pl.treksoft.kvision.form.upload/-upload/value.html +++ b/api/pl.treksoft.kvision.form.upload/-upload/value.html @@ -9,8 +9,8 @@

value

-open var value: List<File>? -

Overrides FilesFormControl.value

+open var value: List<KFile>? +

Overrides KFilesFormControl.value

File input value.

-- cgit
-open var value: List<File>? +open var value: List<KFile>?

File input value.

+

getNativeFile

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

Returns the native JavaScript File object.

+

getSnClass

@@ -398,10 +407,10 @@ If not set the upload button action will default to form submission.

-

getValue

+

getValue

-open fun getValue(): List<File>? +open fun getValue(): List<KFile>?

Returns the value of the control.

-

setValue

+

setValue

-open fun setValue(v: Any?): Unit +open fun setValue(v: Any?): Unit

Sets the value of the control.