aboutsummaryrefslogtreecommitdiff
path: root/docs/api/pl.treksoft.kvision.form.text/-text-input
diff options
context:
space:
mode:
Diffstat (limited to 'docs/api/pl.treksoft.kvision.form.text/-text-input')
-rw-r--r--docs/api/pl.treksoft.kvision.form.text/-text-input/-init-.html23
-rw-r--r--docs/api/pl.treksoft.kvision.form.text/-text-input/autocomplete.html15
-rw-r--r--docs/api/pl.treksoft.kvision.form.text/-text-input/get-sn-attrs.html18
-rw-r--r--docs/api/pl.treksoft.kvision.form.text/-text-input/index.html199
-rw-r--r--docs/api/pl.treksoft.kvision.form.text/-text-input/render.html18
-rw-r--r--docs/api/pl.treksoft.kvision.form.text/-text-input/type.html15
6 files changed, 288 insertions, 0 deletions
diff --git a/docs/api/pl.treksoft.kvision.form.text/-text-input/-init-.html b/docs/api/pl.treksoft.kvision.form.text/-text-input/-init-.html
new file mode 100644
index 00000000..d250ec0d
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.text/-text-input/-init-.html
@@ -0,0 +1,23 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>TextInput.<init> - 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.text</a>&nbsp;/&nbsp;<a href="index.html">TextInput</a>&nbsp;/&nbsp;<a href="./-init-.html">&lt;init&gt;</a><br/>
+<br/>
+<h1>&lt;init&gt;</h1>
+<a name="pl.treksoft.kvision.form.text.TextInput$&lt;init&gt;(pl.treksoft.kvision.form.text.TEXTINPUTTYPE, kotlin.String, kotlin.collections.Set((kotlin.String)))"></a>
+<code><span class="identifier">TextInput</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.text.TextInput$<init>(pl.treksoft.kvision.form.text.TEXTINPUTTYPE, kotlin.String, kotlin.collections.Set((kotlin.String)))/type">type</span><span class="symbol">:</span>&nbsp;<a href="../-t-e-x-t-i-n-p-u-t-t-y-p-e/index.html"><span class="identifier">TEXTINPUTTYPE</span></a>&nbsp;<span class="symbol">=</span>&nbsp;TEXTINPUTTYPE.TEXT<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.text.TextInput$<init>(pl.treksoft.kvision.form.text.TEXTINPUTTYPE, kotlin.String, kotlin.collections.Set((kotlin.String)))/value">value</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.text.TextInput$<init>(pl.treksoft.kvision.form.text.TEXTINPUTTYPE, kotlin.String, kotlin.collections.Set((kotlin.String)))/classes">classes</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html"><span class="identifier">Set</span></a><span class="symbol">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">&gt;</span>&nbsp;<span class="symbol">=</span>&nbsp;setOf()<span class="symbol">)</span></code>
+<h3>Parameters</h3>
+<p><a name="type"></a>
+<code>type</code> - text input type (default "text")</p>
+<p><a name="value"></a>
+<code>value</code> - text input value</p>
+<p><a name="classes"></a>
+<code>classes</code> - a set of CSS class names</p>
+<p><strong>Constructor</strong><br/>
+</p>
+</BODY>
+</HTML>
diff --git a/docs/api/pl.treksoft.kvision.form.text/-text-input/autocomplete.html b/docs/api/pl.treksoft.kvision.form.text/-text-input/autocomplete.html
new file mode 100644
index 00000000..01ef482c
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.text/-text-input/autocomplete.html
@@ -0,0 +1,15 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>TextInput.autocomplete - 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.text</a>&nbsp;/&nbsp;<a href="index.html">TextInput</a>&nbsp;/&nbsp;<a href="./autocomplete.html">autocomplete</a><br/>
+<br/>
+<h1>autocomplete</h1>
+<a name="pl.treksoft.kvision.form.text.TextInput$autocomplete"></a>
+<code><span class="keyword">var </span><span class="identifier">autocomplete</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">?</span></code>
+<p>Determines if autocomplete is enabled for the input element.</p>
+</BODY>
+</HTML>
diff --git a/docs/api/pl.treksoft.kvision.form.text/-text-input/get-sn-attrs.html b/docs/api/pl.treksoft.kvision.form.text/-text-input/get-sn-attrs.html
new file mode 100644
index 00000000..02865712
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.text/-text-input/get-sn-attrs.html
@@ -0,0 +1,18 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>TextInput.getSnAttrs - 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.text</a>&nbsp;/&nbsp;<a href="index.html">TextInput</a>&nbsp;/&nbsp;<a href="./get-sn-attrs.html">getSnAttrs</a><br/>
+<br/>
+<h1>getSnAttrs</h1>
+<a name="pl.treksoft.kvision.form.text.TextInput$getSnAttrs()"></a>
+<code><span class="keyword">protected</span> <span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getSnAttrs</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="../../pl.treksoft.kvision.core/-string-pair.html"><span class="identifier">StringPair</span></a><span class="symbol">&gt;</span></code>
+<p>Overrides <a href="../-abstract-text-input/get-sn-attrs.html">AbstractTextInput.getSnAttrs</a></p>
+<p>Returns list of element attributes in the form of a List.</p>
+<p><strong>Return</strong><br/>
+list of element attributes</p>
+</BODY>
+</HTML>
diff --git a/docs/api/pl.treksoft.kvision.form.text/-text-input/index.html b/docs/api/pl.treksoft.kvision.form.text/-text-input/index.html
new file mode 100644
index 00000000..3ebaf3e8
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.text/-text-input/index.html
@@ -0,0 +1,199 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>TextInput - 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.text</a>&nbsp;/&nbsp;<a href="./index.html">TextInput</a><br/>
+<br/>
+<h1>TextInput</h1>
+<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">TextInput</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../-abstract-text-input/index.html"><span class="identifier">AbstractTextInput</span></a></code>
+<p>Basic text component.</p>
+<h3>Constructors</h3>
+<table>
+<tbody>
+<tr>
+<td>
+<p><a href="-init-.html">&lt;init&gt;</a></p>
+</td>
+<td>
+<code><span class="identifier">TextInput</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.text.TextInput$<init>(pl.treksoft.kvision.form.text.TEXTINPUTTYPE, kotlin.String, kotlin.collections.Set((kotlin.String)))/type">type</span><span class="symbol">:</span>&nbsp;<a href="../-t-e-x-t-i-n-p-u-t-t-y-p-e/index.html"><span class="identifier">TEXTINPUTTYPE</span></a>&nbsp;<span class="symbol">=</span>&nbsp;TEXTINPUTTYPE.TEXT<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.text.TextInput$<init>(pl.treksoft.kvision.form.text.TEXTINPUTTYPE, kotlin.String, kotlin.collections.Set((kotlin.String)))/value">value</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.text.TextInput$<init>(pl.treksoft.kvision.form.text.TEXTINPUTTYPE, kotlin.String, kotlin.collections.Set((kotlin.String)))/classes">classes</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html"><span class="identifier">Set</span></a><span class="symbol">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">&gt;</span>&nbsp;<span class="symbol">=</span>&nbsp;setOf()<span class="symbol">)</span></code></td>
+</tr>
+</tbody>
+</table>
+<h3>Properties</h3>
+<table>
+<tbody>
+<tr>
+<td>
+<p><a href="autocomplete.html">autocomplete</a></p>
+</td>
+<td>
+<code><span class="keyword">var </span><span class="identifier">autocomplete</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">?</span></code>
+<p>Determines if autocomplete is enabled for the input element.</p>
+</td>
+</tr>
+<tr>
+<td>
+<p><a href="type.html">type</a></p>
+</td>
+<td>
+<code><span class="keyword">var </span><span class="identifier">type</span><span class="symbol">: </span><a href="../-t-e-x-t-i-n-p-u-t-t-y-p-e/index.html"><span class="identifier">TEXTINPUTTYPE</span></a></code>
+<p>Text input type.</p>
+</td>
+</tr>
+</tbody>
+</table>
+<h3>Inherited Properties</h3>
+<table>
+<tbody>
+<tr>
+<td>
+<p><a href="../-abstract-text-input/autofocus.html">autofocus</a></p>
+</td>
+<td>
+<code><span class="keyword">var </span><span class="identifier">autofocus</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">?</span></code>
+<p>Determines if the text input is automatically focused.</p>
+</td>
+</tr>
+<tr>
+<td>
+<p><a href="../-abstract-text-input/disabled.html">disabled</a></p>
+</td>
+<td>
+<code><span class="keyword">var </span><span class="identifier">disabled</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code>
+<p>Determines if the field is disabled.</p>
+</td>
+</tr>
+<tr>
+<td>
+<p><a href="../-abstract-text-input/maxlength.html">maxlength</a></p>
+</td>
+<td>
+<code><span class="keyword">var </span><span class="identifier">maxlength</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">?</span></code>
+<p>Maximal length of the text input value.</p>
+</td>
+</tr>
+<tr>
+<td>
+<p><a href="../-abstract-text-input/name.html">name</a></p>
+</td>
+<td>
+<code><span class="keyword">var </span><span class="identifier">name</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code>
+<p>The name attribute of the generated HTML input element.</p>
+</td>
+</tr>
+<tr>
+<td>
+<p><a href="../-abstract-text-input/placeholder.html">placeholder</a></p>
+</td>
+<td>
+<code><span class="keyword">var </span><span class="identifier">placeholder</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code>
+<p>The placeholder for the text input.</p>
+</td>
+</tr>
+<tr>
+<td>
+<p><a href="../-abstract-text-input/readonly.html">readonly</a></p>
+</td>
+<td>
+<code><span class="keyword">var </span><span class="identifier">readonly</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">?</span></code>
+<p>Determines if the text input is read-only.</p>
+</td>
+</tr>
+<tr>
+<td>
+<p><a href="../-abstract-text-input/size.html">size</a></p>
+</td>
+<td>
+<code><span class="keyword">var </span><span class="identifier">size</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.form/-i-n-p-u-t-s-i-z-e/index.html"><span class="identifier">INPUTSIZE</span></a><span class="symbol">?</span></code>
+<p>The size of the input.</p>
+</td>
+</tr>
+<tr>
+<td>
+<p><a href="../-abstract-text-input/start-value.html">startValue</a></p>
+</td>
+<td>
+<code><span class="keyword">var </span><span class="identifier">startValue</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code>
+<p>The value attribute of the generated HTML input element.</p>
+</td>
+</tr>
+<tr>
+<td>
+<p><a href="../-abstract-text-input/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/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code>
+<p>Text input value.</p>
+</td>
+</tr>
+</tbody>
+</table>
+<h3>Functions</h3>
+<table>
+<tbody>
+<tr>
+<td>
+<p><a href="get-sn-attrs.html">getSnAttrs</a></p>
+</td>
+<td>
+<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getSnAttrs</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="../../pl.treksoft.kvision.core/-string-pair.html"><span class="identifier">StringPair</span></a><span class="symbol">&gt;</span></code>
+<p>Returns list of element attributes in the form of a List.</p>
+</td>
+</tr>
+<tr>
+<td>
+<p><a href="render.html">render</a></p>
+</td>
+<td>
+<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">render</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">VNode</span></code>
+<p>Renders current component as a Snabbdom vnode.</p>
+</td>
+</tr>
+</tbody>
+</table>
+<h3>Inherited Functions</h3>
+<table>
+<tbody>
+<tr>
+<td>
+<p><a href="../-abstract-text-input/after-insert.html">afterInsert</a></p>
+</td>
+<td>
+<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">afterInsert</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.text.AbstractTextInput$afterInsert(com.github.snabbdom.VNode)/node">node</span><span class="symbol">:</span>&nbsp;<span class="identifier">VNode</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>Method called after inserting Snabbdom vnode into the DOM.</p>
+</td>
+</tr>
+<tr>
+<td>
+<p><a href="../-abstract-text-input/blur.html">blur</a></p>
+</td>
+<td>
+<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">blur</span><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>Makes the input element blur.</p>
+</td>
+</tr>
+<tr>
+<td>
+<p><a href="../-abstract-text-input/focus.html">focus</a></p>
+</td>
+<td>
+<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">focus</span><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>Makes the input element focused.</p>
+</td>
+</tr>
+<tr>
+<td>
+<p><a href="../-abstract-text-input/get-sn-class.html">getSnClass</a></p>
+</td>
+<td>
+<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getSnClass</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="../../pl.treksoft.kvision.core/-string-bool-pair.html"><span class="identifier">StringBoolPair</span></a><span class="symbol">&gt;</span></code>
+<p>Returns list of CSS class names for current widget in the form of a List.</p>
+</td>
+</tr>
+</tbody>
+</table>
+</BODY>
+</HTML>
diff --git a/docs/api/pl.treksoft.kvision.form.text/-text-input/render.html b/docs/api/pl.treksoft.kvision.form.text/-text-input/render.html
new file mode 100644
index 00000000..9c969109
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.text/-text-input/render.html
@@ -0,0 +1,18 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>TextInput.render - 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.text</a>&nbsp;/&nbsp;<a href="index.html">TextInput</a>&nbsp;/&nbsp;<a href="./render.html">render</a><br/>
+<br/>
+<h1>render</h1>
+<a name="pl.treksoft.kvision.form.text.TextInput$render()"></a>
+<code><span class="keyword">protected</span> <span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">render</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">VNode</span></code>
+<p>Overrides <a href="../../pl.treksoft.kvision.core/-widget/render.html">Widget.render</a></p>
+<p>Renders current component as a Snabbdom vnode.</p>
+<p><strong>Return</strong><br/>
+Snabbdom vnode</p>
+</BODY>
+</HTML>
diff --git a/docs/api/pl.treksoft.kvision.form.text/-text-input/type.html b/docs/api/pl.treksoft.kvision.form.text/-text-input/type.html
new file mode 100644
index 00000000..11252562
--- /dev/null
+++ b/docs/api/pl.treksoft.kvision.form.text/-text-input/type.html
@@ -0,0 +1,15 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>TextInput.type - 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.text</a>&nbsp;/&nbsp;<a href="index.html">TextInput</a>&nbsp;/&nbsp;<a href="./type.html">type</a><br/>
+<br/>
+<h1>type</h1>
+<a name="pl.treksoft.kvision.form.text.TextInput$type"></a>
+<code><span class="keyword">var </span><span class="identifier">type</span><span class="symbol">: </span><a href="../-t-e-x-t-i-n-p-u-t-t-y-p-e/index.html"><span class="identifier">TEXTINPUTTYPE</span></a></code>
+<p>Text input type.</p>
+</BODY>
+</HTML>