diff options
author | Robert Jaros <rjaros@finn.pl> | 2018-03-05 08:45:25 +0100 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2018-03-05 08:45:26 +0100 |
commit | f3c9d405382dd81d426c7eab1f6390ec8e6dad00 (patch) | |
tree | 2913cb1e5818e91119221c93f9a997a3f10a52c0 /docs/api/pl.treksoft.kvision.form/-form/add.html | |
parent | 726751c145b33f82e024787fa7aafcc861712712 (diff) | |
download | kvision-f3c9d405382dd81d426c7eab1f6390ec8e6dad00.tar.gz kvision-f3c9d405382dd81d426c7eab1f6390ec8e6dad00.tar.bz2 kvision-f3c9d405382dd81d426c7eab1f6390ec8e6dad00.zip |
Documentation update.
Diffstat (limited to 'docs/api/pl.treksoft.kvision.form/-form/add.html')
-rw-r--r-- | docs/api/pl.treksoft.kvision.form/-form/add.html | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/docs/api/pl.treksoft.kvision.form/-form/add.html b/docs/api/pl.treksoft.kvision.form/-form/add.html deleted file mode 100644 index c17affd8..00000000 --- a/docs/api/pl.treksoft.kvision.form/-form/add.html +++ /dev/null @@ -1,28 +0,0 @@ -<HTML> -<HEAD> -<meta charset="UTF-8"> -<title>Form.add - kvision</title> -<link rel="stylesheet" href="../../../style.css"> -</HEAD> -<BODY> -<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.form</a> / <a href="index.html">Form</a> / <a href="./add.html">add</a><br/> -<br/> -<h1>add</h1> -<a name="pl.treksoft.kvision.form.Form$add(kotlin.String, pl.treksoft.kvision.form.Form.add.C, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.Form.add.C, kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.Form.add.C, kotlin.Boolean)))"></a> -<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">C</span> <span class="symbol">:</span> <a href="../-form-control/index.html"><span class="identifier">FormControl</span></a><span class="symbol">></span> <span class="identifier">add</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.Form$add(kotlin.String, pl.treksoft.kvision.form.Form.add.C, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.Form.add.C, kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.Form.add.C, kotlin.Boolean)))/key">key</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><span class="identifier" id="pl.treksoft.kvision.form.Form$add(kotlin.String, pl.treksoft.kvision.form.Form.add.C, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.Form.add.C, kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.Form.add.C, kotlin.Boolean)))/control">control</span><span class="symbol">:</span> <a href="add.html#C"><span class="identifier">C</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.Form$add(kotlin.String, pl.treksoft.kvision.form.Form.add.C, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.Form.add.C, kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.Form.add.C, kotlin.Boolean)))/required">required</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> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.Form$add(kotlin.String, pl.treksoft.kvision.form.Form.add.C, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.Form.add.C, kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.Form.add.C, kotlin.Boolean)))/validatorMessage">validatorMessage</span><span class="symbol">:</span> <span class="symbol">(</span><a href="add.html#C"><span class="identifier">C</span></a><span class="symbol">)</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> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.Form$add(kotlin.String, pl.treksoft.kvision.form.Form.add.C, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.form.Form.add.C, kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.Form.add.C, kotlin.Boolean)))/validator">validator</span><span class="symbol">:</span> <span class="symbol">(</span><a href="add.html#C"><span class="identifier">C</span></a><span class="symbol">)</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> <span class="symbol">=</span> null<span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">Form</span></a><span class="symbol"><</span><a href="index.html#K"><span class="identifier">K</span></a><span class="symbol">></span></code> -<p>Adds a control to the form.</p> -<h3>Parameters</h3> -<p><a name="key"></a> -<code>key</code> - key identifier of the control</p> -<p><a name="control"></a> -<code>control</code> - the form control</p> -<p><a name="required"></a> -<code>required</code> - determines if the control is required</p> -<p><a name="validatorMessage"></a> -<code>validatorMessage</code> - optional function returning validation message</p> -<p><a name="validator"></a> -<code>validator</code> - optional validation function</p> -<p><strong>Return</strong><br/> -current form</p> -</BODY> -</HTML> |