aboutsummaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.form.upload/-upload-input
diff options
context:
space:
mode:
Diffstat (limited to 'api/pl.treksoft.kvision.form.upload/-upload-input')
-rw-r--r--api/pl.treksoft.kvision.form.upload/-upload-input/get-native-file.html20
-rw-r--r--api/pl.treksoft.kvision.form.upload/-upload-input/index.html11
-rw-r--r--api/pl.treksoft.kvision.form.upload/-upload-input/value.html2
3 files changed, 31 insertions, 2 deletions
diff --git a/api/pl.treksoft.kvision.form.upload/-upload-input/get-native-file.html b/api/pl.treksoft.kvision.form.upload/-upload-input/get-native-file.html
new file mode 100644
index 00000000..267baba1
--- /dev/null
+++ b/api/pl.treksoft.kvision.form.upload/-upload-input/get-native-file.html
@@ -0,0 +1,20 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>UploadInput.getNativeFile - kvision</title>
+<link rel="stylesheet" href="../../../style.css">
+</HEAD>
+<BODY>
+<a href="../../index.html">kvision</a>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.form.upload</a>&nbsp;/&nbsp;<a href="index.html">UploadInput</a>&nbsp;/&nbsp;<a href="./get-native-file.html">getNativeFile</a><br/>
+<br/>
+<h1>getNativeFile</h1>
+<a name="pl.treksoft.kvision.form.upload.UploadInput$getNativeFile(pl.treksoft.kvision.types.KFile)"></a>
+<code><span class="keyword">fun </span><span class="identifier">getNativeFile</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.upload.UploadInput$getNativeFile(pl.treksoft.kvision.types.KFile)/kFile">kFile</span><span class="symbol">:</span>&nbsp;<span class="identifier">KFile</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/org.w3c.files/-file/index.html"><span class="identifier">File</span></a><span class="symbol">?</span></code>
+<p>Returns the native JavaScript File object.</p>
+<h3>Parameters</h3>
+<p><a name="kFile"></a>
+<code>kFile</code> - KFile object</p>
+<p><strong>Return</strong><br/>
+File object</p>
+</BODY>
+</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 3090e5be..916ea5e0 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.</p>
<p><a href="value.html">value</a></p>
</td>
<td>
-<code><span class="keyword">var </span><span class="identifier">value</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/org.w3c.files/-file/index.html"><span class="identifier">File</span></a><span class="symbol">&gt;</span><span class="symbol">?</span></code>
+<code><span class="keyword">var </span><span class="identifier">value</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol">&lt;</span><span class="identifier">KFile</span><span class="symbol">&gt;</span><span class="symbol">?</span></code>
<p>File input value.</p>
</td>
</tr>
@@ -326,6 +326,15 @@ If not set the upload button action will default to form submission.</p>
</tr>
<tr>
<td>
+<p><a href="get-native-file.html">getNativeFile</a></p>
+</td>
+<td>
+<code><span class="keyword">fun </span><span class="identifier">getNativeFile</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.upload.UploadInput$getNativeFile(pl.treksoft.kvision.types.KFile)/kFile">kFile</span><span class="symbol">:</span>&nbsp;<span class="identifier">KFile</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/org.w3c.files/-file/index.html"><span class="identifier">File</span></a><span class="symbol">?</span></code>
+<p>Returns the native JavaScript File object.</p>
+</td>
+</tr>
+<tr>
+<td>
<p><a href="get-sn-attrs.html">getSnAttrs</a></p>
</td>
<td>
diff --git a/api/pl.treksoft.kvision.form.upload/-upload-input/value.html b/api/pl.treksoft.kvision.form.upload/-upload-input/value.html
index a740df1a..d26d2dc3 100644
--- a/api/pl.treksoft.kvision.form.upload/-upload-input/value.html
+++ b/api/pl.treksoft.kvision.form.upload/-upload-input/value.html
@@ -9,7 +9,7 @@
<br/>
<h1>value</h1>
<a name="pl.treksoft.kvision.form.upload.UploadInput$value"></a>
-<code><span class="keyword">var </span><span class="identifier">value</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/org.w3c.files/-file/index.html"><span class="identifier">File</span></a><span class="symbol">&gt;</span><span class="symbol">?</span></code>
+<code><span class="keyword">var </span><span class="identifier">value</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol">&lt;</span><span class="identifier">KFile</span><span class="symbol">&gt;</span><span class="symbol">?</span></code>
<p>File input value.</p>
</BODY>
</HTML>