diff options
author | Robert Jaros <rjaros@finn.pl> | 2020-03-03 10:53:33 +0100 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2020-03-03 10:53:33 +0100 |
commit | 4ffe1bee99a55e985bb71dacff3839263cb4316f (patch) | |
tree | f07b31b6085090757d14821a76917ae90f8dc821 /api/pl.treksoft.kvision.form/-form-panel | |
parent | 4f072661ef1670c9926a21ccc54dff44d7a6de31 (diff) | |
download | kvision-4ffe1bee99a55e985bb71dacff3839263cb4316f.tar.gz kvision-4ffe1bee99a55e985bb71dacff3839263cb4316f.tar.bz2 kvision-4ffe1bee99a55e985bb71dacff3839263cb4316f.zip |
API Documentation for KVision 3.0.0
Diffstat (limited to 'api/pl.treksoft.kvision.form/-form-panel')
-rw-r--r-- | api/pl.treksoft.kvision.form/-form-panel/index.html | 48 | ||||
-rw-r--r-- | api/pl.treksoft.kvision.form/-form-panel/validate.html | 7 |
2 files changed, 50 insertions, 5 deletions
diff --git a/api/pl.treksoft.kvision.form/-form-panel/index.html b/api/pl.treksoft.kvision.form/-form-panel/index.html index 6a643433..1fab0a81 100644 --- a/api/pl.treksoft.kvision.form/-form-panel/index.html +++ b/api/pl.treksoft.kvision.form/-form-panel/index.html @@ -278,7 +278,7 @@ <p><a href="validate.html">validate</a></p> </td> <td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">validate</span><span class="symbol">(</span><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></code> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">validate</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.FormPanel$validate(kotlin.Boolean)/markFields">markFields</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> true<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></code> <p>Invokes validator function and validates the form.</p> </td> </tr> @@ -355,6 +355,32 @@ </tr> </tbody> </table> +<h3>Extension Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.event/change-flow.html">changeFlow</a></p> +</td> +<td> +<code><span class="keyword">val </span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">></span> <a href="../../pl.treksoft.kvision.event/change-flow.html#T"><span class="identifier">T</span></a><span class="symbol">.</span><span class="identifier">changeFlow</span><span class="symbol">: </span><span class="identifier"><ERROR CLASS></span><span class="symbol"><</span><a href="../../pl.treksoft.kvision.event/change-flow.html#T"><span class="identifier">T</span></a><span class="symbol">></span></code></td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.event/click-flow.html">clickFlow</a></p> +</td> +<td> +<code><span class="keyword">val </span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">></span> <a href="../../pl.treksoft.kvision.event/click-flow.html#T"><span class="identifier">T</span></a><span class="symbol">.</span><span class="identifier">clickFlow</span><span class="symbol">: </span><span class="identifier"><ERROR CLASS></span><span class="symbol"><</span><a href="../../pl.treksoft.kvision.event/click-flow.html#T"><span class="identifier">T</span></a><span class="symbol">></span></code></td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.event/input-flow.html">inputFlow</a></p> +</td> +<td> +<code><span class="keyword">val </span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">></span> <a href="../../pl.treksoft.kvision.event/input-flow.html#T"><span class="identifier">T</span></a><span class="symbol">.</span><span class="identifier">inputFlow</span><span class="symbol">: </span><span class="identifier"><ERROR CLASS></span><span class="symbol"><</span><a href="../../pl.treksoft.kvision.event/input-flow.html#T"><span class="identifier">T</span></a><span class="symbol">></span></code></td> +</tr> +</tbody> +</table> <h3>Extension Functions</h3> <table> <tbody> @@ -532,6 +558,13 @@ </tr> <tr> <td> +<p><a href="../../pl.treksoft.kvision.event/event-flow.html">eventFlow</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">></span> <a href="../../pl.treksoft.kvision.event/event-flow.html#T"><span class="identifier">T</span></a><span class="symbol">.</span><span class="identifier">eventFlow</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.event$eventFlow(pl.treksoft.kvision.event.eventFlow.T, kotlin.String)/event">event</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><span class="identifier"><ERROR CLASS></span><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-pair/index.html"><span class="identifier">Pair</span></a><span class="symbol"><</span><a href="../../pl.treksoft.kvision.event/event-flow.html#T"><span class="identifier">T</span></a><span class="symbol">,</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/org.w3c.dom.events/-event/index.html"><span class="identifier">Event</span></a><span class="symbol">></span><span class="symbol">></span></code></td> +</tr> +<tr> +<td> <p><a href="../field-label.html">fieldLabel</a></p> </td> <td> @@ -730,10 +763,19 @@ </tr> <tr> <td> +<p><a href="../../pl.treksoft.kvision.maps/maps.html">maps</a></p> +</td> +<td> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">maps</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.maps$maps(pl.treksoft.kvision.core.Container, kotlin.Number, kotlin.Number, kotlin.Number, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.maps.Maps, kotlin.Unit)))/lat">lat</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.maps$maps(pl.treksoft.kvision.core.Container, kotlin.Number, kotlin.Number, kotlin.Number, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.maps.Maps, kotlin.Unit)))/lng">lng</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.maps$maps(pl.treksoft.kvision.core.Container, kotlin.Number, kotlin.Number, kotlin.Number, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.maps.Maps, kotlin.Unit)))/zoom">zoom</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.maps$maps(pl.treksoft.kvision.core.Container, kotlin.Number, kotlin.Number, kotlin.Number, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.maps.Maps, kotlin.Unit)))/classes">classes</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html"><span class="identifier">Set</span></a><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> setOf()<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.maps$maps(pl.treksoft.kvision.core.Container, kotlin.Number, kotlin.Number, kotlin.Number, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.maps.Maps, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="../../pl.treksoft.kvision.maps/-maps/index.html"><span class="identifier">Maps</span></a><span class="symbol">.</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><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.maps/-maps/index.html"><span class="identifier">Maps</span></a></code> +<p>DSL builder extension function.</p> +</td> +</tr> +<tr> +<td> <p><a href="../../pl.treksoft.kvision.navbar/navbar.html">navbar</a></p> </td> <td> -<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">navbar</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.navbar$navbar(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.navbar.NavbarType, pl.treksoft.kvision.navbar.NavbarExpand, pl.treksoft.kvision.navbar.NavbarColor, pl.treksoft.kvision.core.BsBgColor, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.navbar.Navbar, kotlin.Unit)))/label">label</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.navbar$navbar(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.navbar.NavbarType, pl.treksoft.kvision.navbar.NavbarExpand, pl.treksoft.kvision.navbar.NavbarColor, pl.treksoft.kvision.core.BsBgColor, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.navbar.Navbar, kotlin.Unit)))/link">link</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.navbar$navbar(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.navbar.NavbarType, pl.treksoft.kvision.navbar.NavbarExpand, pl.treksoft.kvision.navbar.NavbarColor, pl.treksoft.kvision.core.BsBgColor, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.navbar.Navbar, kotlin.Unit)))/type">type</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.navbar/-navbar-type/index.html"><span class="identifier">NavbarType</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.navbar$navbar(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.navbar.NavbarType, pl.treksoft.kvision.navbar.NavbarExpand, pl.treksoft.kvision.navbar.NavbarColor, pl.treksoft.kvision.core.BsBgColor, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.navbar.Navbar, kotlin.Unit)))/expand">expand</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.navbar/-navbar-expand/index.html"><span class="identifier">NavbarExpand</span></a><span class="symbol">?</span> <span class="symbol">=</span> NavbarExpand.LG<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.navbar$navbar(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.navbar.NavbarType, pl.treksoft.kvision.navbar.NavbarExpand, pl.treksoft.kvision.navbar.NavbarColor, pl.treksoft.kvision.core.BsBgColor, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.navbar.Navbar, kotlin.Unit)))/nColor">nColor</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.navbar/-navbar-color/index.html"><span class="identifier">NavbarColor</span></a> <span class="symbol">=</span> NavbarColor.LIGHT<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.navbar$navbar(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.navbar.NavbarType, pl.treksoft.kvision.navbar.NavbarExpand, pl.treksoft.kvision.navbar.NavbarColor, pl.treksoft.kvision.core.BsBgColor, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.navbar.Navbar, kotlin.Unit)))/bgColor">bgColor</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-bs-bg-color/index.html"><span class="identifier">BsBgColor</span></a> <span class="symbol">=</span> BsBgColor.LIGHT<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.navbar$navbar(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.navbar.NavbarType, pl.treksoft.kvision.navbar.NavbarExpand, pl.treksoft.kvision.navbar.NavbarColor, pl.treksoft.kvision.core.BsBgColor, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.navbar.Navbar, kotlin.Unit)))/classes">classes</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html"><span class="identifier">Set</span></a><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> setOf()<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.navbar$navbar(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.navbar.NavbarType, pl.treksoft.kvision.navbar.NavbarExpand, pl.treksoft.kvision.navbar.NavbarColor, pl.treksoft.kvision.core.BsBgColor, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.navbar.Navbar, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="../../pl.treksoft.kvision.navbar/-navbar/index.html"><span class="identifier">Navbar</span></a><span class="symbol">.</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><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.navbar/-navbar/index.html"><span class="identifier">Navbar</span></a></code> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">navbar</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.navbar$navbar(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.navbar.NavbarType, pl.treksoft.kvision.navbar.NavbarExpand, pl.treksoft.kvision.navbar.NavbarColor, pl.treksoft.kvision.core.BsBgColor, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.navbar.Navbar, kotlin.Unit)))/label">label</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.navbar$navbar(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.navbar.NavbarType, pl.treksoft.kvision.navbar.NavbarExpand, pl.treksoft.kvision.navbar.NavbarColor, pl.treksoft.kvision.core.BsBgColor, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.navbar.Navbar, kotlin.Unit)))/link">link</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.navbar$navbar(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.navbar.NavbarType, pl.treksoft.kvision.navbar.NavbarExpand, pl.treksoft.kvision.navbar.NavbarColor, pl.treksoft.kvision.core.BsBgColor, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.navbar.Navbar, kotlin.Unit)))/type">type</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.navbar/-navbar-type/index.html"><span class="identifier">NavbarType</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.navbar$navbar(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.navbar.NavbarType, pl.treksoft.kvision.navbar.NavbarExpand, pl.treksoft.kvision.navbar.NavbarColor, pl.treksoft.kvision.core.BsBgColor, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.navbar.Navbar, kotlin.Unit)))/expand">expand</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.navbar/-navbar-expand/index.html"><span class="identifier">NavbarExpand</span></a><span class="symbol">?</span> <span class="symbol">=</span> NavbarExpand.LG<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.navbar$navbar(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.navbar.NavbarType, pl.treksoft.kvision.navbar.NavbarExpand, pl.treksoft.kvision.navbar.NavbarColor, pl.treksoft.kvision.core.BsBgColor, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.navbar.Navbar, kotlin.Unit)))/nColor">nColor</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.navbar/-navbar-color/index.html"><span class="identifier">NavbarColor</span></a> <span class="symbol">=</span> NavbarColor.LIGHT<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.navbar$navbar(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.navbar.NavbarType, pl.treksoft.kvision.navbar.NavbarExpand, pl.treksoft.kvision.navbar.NavbarColor, pl.treksoft.kvision.core.BsBgColor, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.navbar.Navbar, kotlin.Unit)))/bgColor">bgColor</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-bs-bg-color/index.html"><span class="identifier">BsBgColor</span></a> <span class="symbol">=</span> BsBgColor.LIGHT<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.navbar$navbar(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.navbar.NavbarType, pl.treksoft.kvision.navbar.NavbarExpand, pl.treksoft.kvision.navbar.NavbarColor, pl.treksoft.kvision.core.BsBgColor, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.navbar.Navbar, kotlin.Unit)))/collapseOnClick">collapseOnClick</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.navbar$navbar(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.navbar.NavbarType, pl.treksoft.kvision.navbar.NavbarExpand, pl.treksoft.kvision.navbar.NavbarColor, pl.treksoft.kvision.core.BsBgColor, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.navbar.Navbar, kotlin.Unit)))/classes">classes</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html"><span class="identifier">Set</span></a><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> setOf()<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.navbar$navbar(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.navbar.NavbarType, pl.treksoft.kvision.navbar.NavbarExpand, pl.treksoft.kvision.navbar.NavbarColor, pl.treksoft.kvision.core.BsBgColor, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.navbar.Navbar, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="../../pl.treksoft.kvision.navbar/-navbar/index.html"><span class="identifier">Navbar</span></a><span class="symbol">.</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><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.navbar/-navbar/index.html"><span class="identifier">Navbar</span></a></code> <p>DSL builder extension function.</p> </td> </tr> @@ -742,7 +784,7 @@ <p><a href="../../pl.treksoft.kvision.core/on-event.html">onEvent</a></p> </td> <td> -<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">></span> <a href="../../pl.treksoft.kvision.core/on-event.html#T"><span class="identifier">T</span></a><span class="symbol">.</span><span class="identifier">onEvent</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core$onEvent(pl.treksoft.kvision.core.onEvent.T, kotlin.Function1((pl.treksoft.kvision.utils.SnOn((pl.treksoft.kvision.core.onEvent.T)), kotlin.Unit)))/block">block</span><span class="symbol">:</span> <span class="identifier">SnOn</span><span class="symbol"><</span><a href="../../pl.treksoft.kvision.core/on-event.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">.</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><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code></td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">></span> <a href="../../pl.treksoft.kvision.core/on-event.html#T"><span class="identifier">T</span></a><span class="symbol">.</span><span class="identifier">onEvent</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core$onEvent(pl.treksoft.kvision.core.onEvent.T, kotlin.Function1((pl.treksoft.kvision.utils.SnOn((pl.treksoft.kvision.core.onEvent.T)), kotlin.Unit)))/block">block</span><span class="symbol">:</span> <span class="identifier">SnOn</span><span class="symbol"><</span><a href="../../pl.treksoft.kvision.core/on-event.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">.</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><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a></code></td> </tr> <tr> <td> diff --git a/api/pl.treksoft.kvision.form/-form-panel/validate.html b/api/pl.treksoft.kvision.form/-form-panel/validate.html index e1e1be05..63dbb6b4 100644 --- a/api/pl.treksoft.kvision.form/-form-panel/validate.html +++ b/api/pl.treksoft.kvision.form/-form-panel/validate.html @@ -8,9 +8,12 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.form</a> / <a href="index.html">FormPanel</a> / <a href="./validate.html">validate</a><br/> <br/> <h1>validate</h1> -<a name="pl.treksoft.kvision.form.FormPanel$validate()"></a> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">validate</span><span class="symbol">(</span><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></code> +<a name="pl.treksoft.kvision.form.FormPanel$validate(kotlin.Boolean)"></a> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">validate</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.FormPanel$validate(kotlin.Boolean)/markFields">markFields</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> true<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></code> <p>Invokes validator function and validates the form.</p> +<h3>Parameters</h3> +<p><a name="markFields"></a> +<code>markFields</code> - determines if form fields should be labeled with error messages</p> <p><strong>Return</strong><br/> validation result</p> </BODY> |