summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.form/-form-panel/add-custom.html
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2020-03-13 01:05:20 +0100
committerRobert Jaros <rjaros@finn.pl>2020-03-13 01:05:20 +0100
commit0365722f8549ee93918be99da1b9f901cf0b2c8d (patch)
tree01624b829e0d11c122070dacab6e7b1bf90325a8 /api/pl.treksoft.kvision.form/-form-panel/add-custom.html
parent4ffe1bee99a55e985bb71dacff3839263cb4316f (diff)
downloadkvision-0365722f8549ee93918be99da1b9f901cf0b2c8d.tar.gz
kvision-0365722f8549ee93918be99da1b9f901cf0b2c8d.tar.bz2
kvision-0365722f8549ee93918be99da1b9f901cf0b2c8d.zip
API documentation for KVision 3.5.2
Diffstat (limited to 'api/pl.treksoft.kvision.form/-form-panel/add-custom.html')
-rw-r--r--api/pl.treksoft.kvision.form/-form-panel/add-custom.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/api/pl.treksoft.kvision.form/-form-panel/add-custom.html b/api/pl.treksoft.kvision.form/-form-panel/add-custom.html
index d488e3da..ed18af5c 100644
--- a/api/pl.treksoft.kvision.form/-form-panel/add-custom.html
+++ b/api/pl.treksoft.kvision.form/-form-panel/add-custom.html
@@ -8,8 +8,8 @@
<a href="../../index.html">kvision</a>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.form</a>&nbsp;/&nbsp;<a href="index.html">FormPanel</a>&nbsp;/&nbsp;<a href="./add-custom.html">addCustom</a><br/>
<br/>
<h1>addCustom</h1>
-<a name="pl.treksoft.kvision.form.FormPanel$addCustom(kotlin.reflect.KProperty1((pl.treksoft.kvision.form.FormPanel.K, kotlin.Any)), pl.treksoft.kvision.form.FormPanel.addCustom.C, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.Function1((pl.treksoft.kvision.form.FormPanel.addCustom.C, kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.FormPanel.addCustom.C, kotlin.Boolean)))"></a>
-<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">C</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../-string-form-control/index.html"><span class="identifier">StringFormControl</span></a><span class="symbol">&gt;</span> <span class="identifier">addCustom</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.FormPanel$addCustom(kotlin.reflect.KProperty1((pl.treksoft.kvision.form.FormPanel.K, kotlin.Any)), pl.treksoft.kvision.form.FormPanel.addCustom.C, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.Function1((pl.treksoft.kvision.form.FormPanel.addCustom.C, kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.FormPanel.addCustom.C, kotlin.Boolean)))/key">key</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-property1/index.html"><span class="identifier">KProperty1</span></a><span class="symbol">&lt;</span><a href="index.html#K"><span class="identifier">K</span></a><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">&gt;</span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.FormPanel$addCustom(kotlin.reflect.KProperty1((pl.treksoft.kvision.form.FormPanel.K, kotlin.Any)), pl.treksoft.kvision.form.FormPanel.addCustom.C, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.Function1((pl.treksoft.kvision.form.FormPanel.addCustom.C, kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.FormPanel.addCustom.C, kotlin.Boolean)))/control">control</span><span class="symbol">:</span>&nbsp;<a href="add-custom.html#C"><span class="identifier">C</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.FormPanel$addCustom(kotlin.reflect.KProperty1((pl.treksoft.kvision.form.FormPanel.K, kotlin.Any)), pl.treksoft.kvision.form.FormPanel.addCustom.C, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.Function1((pl.treksoft.kvision.form.FormPanel.addCustom.C, kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.FormPanel.addCustom.C, kotlin.Boolean)))/required">required</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a>&nbsp;<span class="symbol">=</span>&nbsp;false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.FormPanel$addCustom(kotlin.reflect.KProperty1((pl.treksoft.kvision.form.FormPanel.K, kotlin.Any)), pl.treksoft.kvision.form.FormPanel.addCustom.C, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.Function1((pl.treksoft.kvision.form.FormPanel.addCustom.C, kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.FormPanel.addCustom.C, kotlin.Boolean)))/requiredMessage">requiredMessage</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.FormPanel$addCustom(kotlin.reflect.KProperty1((pl.treksoft.kvision.form.FormPanel.K, kotlin.Any)), pl.treksoft.kvision.form.FormPanel.addCustom.C, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.Function1((pl.treksoft.kvision.form.FormPanel.addCustom.C, kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.FormPanel.addCustom.C, kotlin.Boolean)))/legend">legend</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.FormPanel$addCustom(kotlin.reflect.KProperty1((pl.treksoft.kvision.form.FormPanel.K, kotlin.Any)), pl.treksoft.kvision.form.FormPanel.addCustom.C, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.Function1((pl.treksoft.kvision.form.FormPanel.addCustom.C, kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.FormPanel.addCustom.C, kotlin.Boolean)))/validatorMessage">validatorMessage</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="symbol">(</span><a href="add-custom.html#C"><span class="identifier">C</span></a><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</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><span class="symbol">)</span><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.FormPanel$addCustom(kotlin.reflect.KProperty1((pl.treksoft.kvision.form.FormPanel.K, kotlin.Any)), pl.treksoft.kvision.form.FormPanel.addCustom.C, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.Function1((pl.treksoft.kvision.form.FormPanel.addCustom.C, kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.FormPanel.addCustom.C, kotlin.Boolean)))/validator">validator</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="symbol">(</span><a href="add-custom.html#C"><span class="identifier">C</span></a><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<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><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">FormPanel</span></a><span class="symbol">&lt;</span><a href="index.html#K"><span class="identifier">K</span></a><span class="symbol">&gt;</span></code>
+(js) <a name="pl.treksoft.kvision.form.FormPanel$addCustom(kotlin.reflect.KProperty1((pl.treksoft.kvision.form.FormPanel.K, kotlin.Any)), pl.treksoft.kvision.form.FormPanel.addCustom.C, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.Function1((pl.treksoft.kvision.form.FormPanel.addCustom.C, kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.FormPanel.addCustom.C, kotlin.Boolean)))"></a>
+<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">C</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../-string-form-control/index.html"><span class="identifier">StringFormControl</span></a><span class="symbol">&gt;</span> <span class="identifier">addCustom</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.FormPanel$addCustom(kotlin.reflect.KProperty1((pl.treksoft.kvision.form.FormPanel.K, kotlin.Any)), pl.treksoft.kvision.form.FormPanel.addCustom.C, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.Function1((pl.treksoft.kvision.form.FormPanel.addCustom.C, kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.FormPanel.addCustom.C, kotlin.Boolean)))/key">key</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-property1/index.html"><span class="identifier">KProperty1</span></a><span class="symbol">&lt;</span><span class="identifier">K</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">&gt;</span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.FormPanel$addCustom(kotlin.reflect.KProperty1((pl.treksoft.kvision.form.FormPanel.K, kotlin.Any)), pl.treksoft.kvision.form.FormPanel.addCustom.C, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.Function1((pl.treksoft.kvision.form.FormPanel.addCustom.C, kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.FormPanel.addCustom.C, kotlin.Boolean)))/control">control</span><span class="symbol">:</span>&nbsp;<span class="identifier">C</span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.FormPanel$addCustom(kotlin.reflect.KProperty1((pl.treksoft.kvision.form.FormPanel.K, kotlin.Any)), pl.treksoft.kvision.form.FormPanel.addCustom.C, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.Function1((pl.treksoft.kvision.form.FormPanel.addCustom.C, kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.FormPanel.addCustom.C, kotlin.Boolean)))/required">required</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a>&nbsp;<span class="symbol">=</span>&nbsp;false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.FormPanel$addCustom(kotlin.reflect.KProperty1((pl.treksoft.kvision.form.FormPanel.K, kotlin.Any)), pl.treksoft.kvision.form.FormPanel.addCustom.C, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.Function1((pl.treksoft.kvision.form.FormPanel.addCustom.C, kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.FormPanel.addCustom.C, kotlin.Boolean)))/requiredMessage">requiredMessage</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.FormPanel$addCustom(kotlin.reflect.KProperty1((pl.treksoft.kvision.form.FormPanel.K, kotlin.Any)), pl.treksoft.kvision.form.FormPanel.addCustom.C, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.Function1((pl.treksoft.kvision.form.FormPanel.addCustom.C, kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.FormPanel.addCustom.C, kotlin.Boolean)))/legend">legend</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.FormPanel$addCustom(kotlin.reflect.KProperty1((pl.treksoft.kvision.form.FormPanel.K, kotlin.Any)), pl.treksoft.kvision.form.FormPanel.addCustom.C, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.Function1((pl.treksoft.kvision.form.FormPanel.addCustom.C, kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.FormPanel.addCustom.C, kotlin.Boolean)))/validatorMessage">validatorMessage</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="symbol">(</span><span class="identifier">C</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</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><span class="symbol">)</span><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.FormPanel$addCustom(kotlin.reflect.KProperty1((pl.treksoft.kvision.form.FormPanel.K, kotlin.Any)), pl.treksoft.kvision.form.FormPanel.addCustom.C, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.Function1((pl.treksoft.kvision.form.FormPanel.addCustom.C, kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.FormPanel.addCustom.C, kotlin.Boolean)))/validator">validator</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="symbol">(</span><span class="identifier">C</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<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><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">FormPanel</span></a><span class="symbol">&lt;</span><span class="identifier">K</span><span class="symbol">&gt;</span></code>
<p>Adds a string control to the form panel bound to custom field type.</p>
<h3>Parameters</h3>
<p><a name="key"></a>