aboutsummaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.form/-form/-init-.html
diff options
context:
space:
mode:
Diffstat (limited to 'api/pl.treksoft.kvision.form/-form/-init-.html')
-rw-r--r--api/pl.treksoft.kvision.form/-form/-init-.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/api/pl.treksoft.kvision.form/-form/-init-.html b/api/pl.treksoft.kvision.form/-form/-init-.html
index b703eeca..d2e40cfd 100644
--- a/api/pl.treksoft.kvision.form/-form/-init-.html
+++ b/api/pl.treksoft.kvision.form/-form/-init-.html
@@ -8,16 +8,16 @@
<a href="../../index.html">kvision</a>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.form</a>&nbsp;/&nbsp;<a href="index.html">Form</a>&nbsp;/&nbsp;<a href="./-init-.html">&lt;init&gt;</a><br/>
<br/>
<h1>&lt;init&gt;</h1>
-<a name="pl.treksoft.kvision.form.Form$&lt;init&gt;(pl.treksoft.kvision.form.FormPanel((pl.treksoft.kvision.form.Form.K)), kotlin.Function1((kotlin.collections.Map((kotlin.String, kotlin.Any)), pl.treksoft.kvision.form.Form.K)))"></a>
-<code><span class="identifier">Form</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.Form$<init>(pl.treksoft.kvision.form.FormPanel((pl.treksoft.kvision.form.Form.K)), kotlin.Function1((kotlin.collections.Map((kotlin.String, kotlin.Any)), pl.treksoft.kvision.form.Form.K)))/panel">panel</span><span class="symbol">:</span>&nbsp;<a href="../-form-panel/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><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.Form$<init>(pl.treksoft.kvision.form.FormPanel((pl.treksoft.kvision.form.Form.K)), kotlin.Function1((kotlin.collections.Map((kotlin.String, kotlin.Any)), pl.treksoft.kvision.form.Form.K)))/modelFactory">modelFactory</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html"><span class="identifier">Map</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">,</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>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="index.html#K"><span class="identifier">K</span></a><span class="symbol">)</span></code>
+<a name="pl.treksoft.kvision.form.Form$&lt;init&gt;(pl.treksoft.kvision.form.FormPanel((pl.treksoft.kvision.form.Form.K)), kotlinx.serialization.KSerializer((pl.treksoft.kvision.form.Form.K)))"></a>
+<code><span class="identifier">Form</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.Form$<init>(pl.treksoft.kvision.form.FormPanel((pl.treksoft.kvision.form.Form.K)), kotlinx.serialization.KSerializer((pl.treksoft.kvision.form.Form.K)))/panel">panel</span><span class="symbol">:</span>&nbsp;<a href="../-form-panel/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><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.Form$<init>(pl.treksoft.kvision.form.FormPanel((pl.treksoft.kvision.form.Form.K)), kotlinx.serialization.KSerializer((pl.treksoft.kvision.form.Form.K)))/serializer">serializer</span><span class="symbol">:</span>&nbsp;<span class="identifier">KSerializer</span><span class="symbol">&lt;</span><a href="index.html#K"><span class="identifier">K</span></a><span class="symbol">&gt;</span><span class="symbol">)</span></code>
<p>Creates a form with a given modelFactory function</p>
<h3>Parameters</h3>
<p><a name="K"></a>
<code>K</code> - model class type</p>
<p><a name="panel"></a>
<code>panel</code> - optional instance of <a href="../-form-panel/index.html">FormPanel</a></p>
-<p><a name="modelFactory"></a>
-<code>modelFactory</code> - function transforming a Map&lt;String, Any?&gt; to a data model of class K</p>
+<p><a name="serializer"></a>
+<code>serializer</code> - a serializer for model type</p>
<p><strong>Constructor</strong><br/>
Creates a form with a given modelFactory function</p>
</BODY>