aboutsummaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.form.upload/-upload/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'api/pl.treksoft.kvision.form.upload/-upload/index.html')
-rw-r--r--api/pl.treksoft.kvision.form.upload/-upload/index.html21
1 files changed, 15 insertions, 6 deletions
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 @@
<a href="../../index.html">kvision</a>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.form.upload</a>&nbsp;/&nbsp;<a href="./index.html">Upload</a><br/>
<br/>
<h1>Upload</h1>
-<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Upload</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a><span class="symbol">, </span><a href="../../pl.treksoft.kvision.form/-files-form-control/index.html"><span class="identifier">FilesFormControl</span></a></code>
+<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Upload</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a><span class="symbol">, </span><a href="../../pl.treksoft.kvision.form/-k-files-form-control/index.html"><span class="identifier">KFilesFormControl</span></a></code>
<p>The form field file upload component.</p>
<h3>Constructors</h3>
<table>
@@ -227,7 +227,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">open</span> <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">open</span> <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>
@@ -274,6 +274,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.Upload$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-class.html">getSnClass</a></p>
</td>
<td>
@@ -398,10 +407,10 @@ If not set the upload button action will default to form submission.</p>
</tr>
<tr>
<td>
-<p><a href="../../pl.treksoft.kvision.form/-files-form-control/get-value.html">getValue</a></p>
+<p><a href="../../pl.treksoft.kvision.form/-k-files-form-control/get-value.html">getValue</a></p>
</td>
<td>
-<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getValue</span><span class="symbol">(</span><span class="symbol">)</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">open</span> <span class="keyword">fun </span><span class="identifier">getValue</span><span class="symbol">(</span><span class="symbol">)</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>Returns the value of the control.</p>
</td>
</tr>
@@ -434,10 +443,10 @@ If not set the upload button action will default to form submission.</p>
</tr>
<tr>
<td>
-<p><a href="../../pl.treksoft.kvision.form/-files-form-control/set-value.html">setValue</a></p>
+<p><a href="../../pl.treksoft.kvision.form/-k-files-form-control/set-value.html">setValue</a></p>
</td>
<td>
-<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">setValue</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.FilesFormControl$setValue(kotlin.Any)/v">v</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">?</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code>
+<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">setValue</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.KFilesFormControl$setValue(kotlin.Any)/v">v</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">?</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code>
<p>Sets the value of the control.</p>
</td>
</tr>