diff options
Diffstat (limited to 'api/pl.treksoft.kvision.form.check')
11 files changed, 354 insertions, 70 deletions
diff --git a/api/pl.treksoft.kvision.form.check/-check-box-input/index.html b/api/pl.treksoft.kvision.form.check/-check-box-input/index.html index 4bdd7137..7970b9b7 100644 --- a/api/pl.treksoft.kvision.form.check/-check-box-input/index.html +++ b/api/pl.treksoft.kvision.form.check/-check-box-input/index.html @@ -167,6 +167,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> @@ -225,10 +251,17 @@ </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="../../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.check/-check-box/index.html b/api/pl.treksoft.kvision.form.check/-check-box/index.html index 1081a10c..d132581a 100644 --- a/api/pl.treksoft.kvision.form.check/-check-box/index.html +++ b/api/pl.treksoft.kvision.form.check/-check-box/index.html @@ -170,6 +170,15 @@ </tr> <tr> <td> +<p><a href="remove-event-listener.html">removeEventListener</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeEventListener</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.check.CheckBox$removeEventListener(kotlin.Int)/id">id</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><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Removes event listener from current widget.</p> +</td> +</tr> +<tr> +<td> <p><a href="remove-event-listeners.html">removeEventListeners</a></p> </td> <td> @@ -182,10 +191,8 @@ <p><a href="set-event-listener.html">setEventListener</a></p> </td> <td> -<code><span class="keyword">open</span> <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> <span class="identifier">setEventListener</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.check.CheckBox$setEventListener(kotlin.Function1((pl.treksoft.kvision.utils.SnOn((pl.treksoft.kvision.form.check.CheckBox.setEventListener.T)), kotlin.Unit)))/block">block</span><span class="symbol">:</span> <span class="identifier">SnOn</span><span class="symbol"><</span><a href="set-event-listener.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> +<code><span class="keyword">open</span> <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> <span class="identifier">setEventListener</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.check.CheckBox$setEventListener(kotlin.Function1((pl.treksoft.kvision.utils.SnOn((pl.treksoft.kvision.form.check.CheckBox.setEventListener.T)), kotlin.Unit)))/block">block</span><span class="symbol">:</span> <span class="identifier">SnOn</span><span class="symbol"><</span><a href="set-event-listener.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> <p>Sets an event listener for current widget, keeping the actual type of component.</p> -<code><span class="keyword">open</span> <span class="keyword">fun </span><s><span class="identifier">setEventListener</span></s><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.check.CheckBox$setEventListener(kotlin.Function1((pl.treksoft.kvision.utils.SnOn((pl.treksoft.kvision.core.Widget)), kotlin.Unit)))/block">block</span><span class="symbol">:</span> <span class="identifier">SnOn</span><span class="symbol"><</span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</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> -<p>Sets an event listener for current widget.</p> </td> </tr> <tr> @@ -321,6 +328,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> @@ -498,6 +531,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="../../pl.treksoft.kvision.form/field-label.html">fieldLabel</a></p> </td> <td> @@ -678,10 +718,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> @@ -690,7 +739,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.check/-check-box/remove-event-listener.html b/api/pl.treksoft.kvision.form.check/-check-box/remove-event-listener.html new file mode 100644 index 00000000..7ca5b570 --- /dev/null +++ b/api/pl.treksoft.kvision.form.check/-check-box/remove-event-listener.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>CheckBox.removeEventListener - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.form.check</a> / <a href="index.html">CheckBox</a> / <a href="./remove-event-listener.html">removeEventListener</a><br/> +<br/> +<h1>removeEventListener</h1> +<a name="pl.treksoft.kvision.form.check.CheckBox$removeEventListener(kotlin.Int)"></a> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeEventListener</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.check.CheckBox$removeEventListener(kotlin.Int)/id">id</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><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Overrides <a href="../../pl.treksoft.kvision.core/-widget/remove-event-listener.html">Widget.removeEventListener</a></p> +<p>Removes event listener from current widget.</p> +<h3>Parameters</h3> +<p><a name="id"></a> +<code>id</code> - the id of the handler returned by onEvent</p> +<p><strong>Return</strong><br/> +current widget</p> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.form.check/-check-box/set-event-listener.html b/api/pl.treksoft.kvision.form.check/-check-box/set-event-listener.html index 98d604ac..38aec0eb 100644 --- a/api/pl.treksoft.kvision.form.check/-check-box/set-event-listener.html +++ b/api/pl.treksoft.kvision.form.check/-check-box/set-event-listener.html @@ -9,7 +9,7 @@ <br/> <h1>setEventListener</h1> <a name="pl.treksoft.kvision.form.check.CheckBox$setEventListener(kotlin.Function1((pl.treksoft.kvision.utils.SnOn((pl.treksoft.kvision.form.check.CheckBox.setEventListener.T)), kotlin.Unit)))"></a> -<code><span class="keyword">open</span> <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> <span class="identifier">setEventListener</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.check.CheckBox$setEventListener(kotlin.Function1((pl.treksoft.kvision.utils.SnOn((pl.treksoft.kvision.form.check.CheckBox.setEventListener.T)), kotlin.Unit)))/block">block</span><span class="symbol">:</span> <span class="identifier">SnOn</span><span class="symbol"><</span><a href="set-event-listener.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> +<code><span class="keyword">open</span> <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> <span class="identifier">setEventListener</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.check.CheckBox$setEventListener(kotlin.Function1((pl.treksoft.kvision.utils.SnOn((pl.treksoft.kvision.form.check.CheckBox.setEventListener.T)), kotlin.Unit)))/block">block</span><span class="symbol">:</span> <span class="identifier">SnOn</span><span class="symbol"><</span><a href="set-event-listener.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> <p>Overrides <a href="../../pl.treksoft.kvision.core/-widget/set-event-listener.html">Widget.setEventListener</a></p> <p>Sets an event listener for current widget, keeping the actual type of component.</p> <h3>Parameters</h3> @@ -18,7 +18,7 @@ <p><a name="block"></a> <code>block</code> - event handler</p> <p><strong>Return</strong><br/> -<p>current widget</p> +<p>id of the handler</p> <p>Example:</p> @@ -30,28 +30,5 @@ // self is of type Button here } }</code></pre></p> -<a name="pl.treksoft.kvision.form.check.CheckBox$setEventListener(kotlin.Function1((pl.treksoft.kvision.utils.SnOn((pl.treksoft.kvision.core.Widget)), kotlin.Unit)))"></a> -<code><span class="keyword">open</span> <span class="keyword">fun </span><s><span class="identifier">setEventListener</span></s><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.check.CheckBox$setEventListener(kotlin.Function1((pl.treksoft.kvision.utils.SnOn((pl.treksoft.kvision.core.Widget)), kotlin.Unit)))/block">block</span><span class="symbol">:</span> <span class="identifier">SnOn</span><span class="symbol"><</span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</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> -<p>Overrides <a href="../../pl.treksoft.kvision.core/-widget/set-event-listener.html">Widget.setEventListener</a></p> -<br/> -<strong>Deprecated:</strong> Use onEvent extension function instead.<br/> -<br/> -<p>Sets an event listener for current widget.</p> -<h3>Parameters</h3> -<p><a name="block"></a> -<code>block</code> - event handler</p> -<p><strong>Return</strong><br/> -<p>current widget</p> - - -<p>Example:</p> - - -<pre><code> button.setEventListener { - dblclick = { - Alert.show("Button double clicked!") - // self is of type Widget here - } - }</code></pre></p> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.form.check/-check-input/index.html b/api/pl.treksoft.kvision.form.check/-check-input/index.html index ca7c835c..4df8801f 100644 --- a/api/pl.treksoft.kvision.form.check/-check-input/index.html +++ b/api/pl.treksoft.kvision.form.check/-check-input/index.html @@ -504,6 +504,15 @@ </tr> <tr> <td> +<p><a href="../../pl.treksoft.kvision.core/-widget/remove-event-listener.html">removeEventListener</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeEventListener</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$removeEventListener(kotlin.Int)/id">id</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><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Removes event listener from current widget.</p> +</td> +</tr> +<tr> +<td> <p><a href="../../pl.treksoft.kvision.core/-widget/remove-event-listeners.html">removeEventListeners</a></p> </td> <td> @@ -581,10 +590,8 @@ <p><a href="../../pl.treksoft.kvision.core/-widget/set-event-listener.html">setEventListener</a></p> </td> <td> -<code><span class="keyword">open</span> <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> <span class="identifier">setEventListener</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$setEventListener(kotlin.Function1((pl.treksoft.kvision.utils.SnOn((pl.treksoft.kvision.core.Widget.setEventListener.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/-widget/set-event-listener.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> +<code><span class="keyword">open</span> <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> <span class="identifier">setEventListener</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$setEventListener(kotlin.Function1((pl.treksoft.kvision.utils.SnOn((pl.treksoft.kvision.core.Widget.setEventListener.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/-widget/set-event-listener.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> <p>Sets an event listener for current widget, keeping the actual type of component.</p> -<code><span class="keyword">open</span> <span class="keyword">fun </span><s><span class="identifier">setEventListener</span></s><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$setEventListener(kotlin.Function1((pl.treksoft.kvision.utils.SnOn((pl.treksoft.kvision.core.Widget)), kotlin.Unit)))/block">block</span><span class="symbol">:</span> <span class="identifier">SnOn</span><span class="symbol"><</span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</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> -<p>Sets an event listener for current widget.</p> </td> </tr> <tr> @@ -639,6 +646,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> @@ -697,10 +730,17 @@ </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="../../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.check/-radio-group-input/index.html b/api/pl.treksoft.kvision.form.check/-radio-group-input/index.html index ce7c40eb..9f87356a 100644 --- a/api/pl.treksoft.kvision.form.check/-radio-group-input/index.html +++ b/api/pl.treksoft.kvision.form.check/-radio-group-input/index.html @@ -213,6 +213,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> @@ -390,6 +416,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="../../pl.treksoft.kvision.form/field-label.html">fieldLabel</a></p> </td> <td> @@ -570,10 +603,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> @@ -582,7 +624,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.check/-radio-group/index.html b/api/pl.treksoft.kvision.form.check/-radio-group/index.html index 5a9ffdb1..aaff40c7 100644 --- a/api/pl.treksoft.kvision.form.check/-radio-group/index.html +++ b/api/pl.treksoft.kvision.form.check/-radio-group/index.html @@ -303,6 +303,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> @@ -480,6 +506,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="../../pl.treksoft.kvision.form/field-label.html">fieldLabel</a></p> </td> <td> @@ -660,10 +693,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> @@ -672,7 +714,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.check/-radio-input/index.html b/api/pl.treksoft.kvision.form.check/-radio-input/index.html index d6777dc7..84033f82 100644 --- a/api/pl.treksoft.kvision.form.check/-radio-input/index.html +++ b/api/pl.treksoft.kvision.form.check/-radio-input/index.html @@ -167,6 +167,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> @@ -225,10 +251,17 @@ </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="../../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.check/-radio/index.html b/api/pl.treksoft.kvision.form.check/-radio/index.html index c8754799..0d823904 100644 --- a/api/pl.treksoft.kvision.form.check/-radio/index.html +++ b/api/pl.treksoft.kvision.form.check/-radio/index.html @@ -179,6 +179,15 @@ </tr> <tr> <td> +<p><a href="remove-event-listener.html">removeEventListener</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeEventListener</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.check.Radio$removeEventListener(kotlin.Int)/id">id</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><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Removes event listener from current widget.</p> +</td> +</tr> +<tr> +<td> <p><a href="remove-event-listeners.html">removeEventListeners</a></p> </td> <td> @@ -191,10 +200,8 @@ <p><a href="set-event-listener.html">setEventListener</a></p> </td> <td> -<code><span class="keyword">open</span> <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> <span class="identifier">setEventListener</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.check.Radio$setEventListener(kotlin.Function1((pl.treksoft.kvision.utils.SnOn((pl.treksoft.kvision.form.check.Radio.setEventListener.T)), kotlin.Unit)))/block">block</span><span class="symbol">:</span> <span class="identifier">SnOn</span><span class="symbol"><</span><a href="set-event-listener.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> +<code><span class="keyword">open</span> <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> <span class="identifier">setEventListener</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.check.Radio$setEventListener(kotlin.Function1((pl.treksoft.kvision.utils.SnOn((pl.treksoft.kvision.form.check.Radio.setEventListener.T)), kotlin.Unit)))/block">block</span><span class="symbol">:</span> <span class="identifier">SnOn</span><span class="symbol"><</span><a href="set-event-listener.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> <p>Sets an event listener for current widget, keeping the actual type of component.</p> -<code><span class="keyword">open</span> <span class="keyword">fun </span><s><span class="identifier">setEventListener</span></s><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.check.Radio$setEventListener(kotlin.Function1((pl.treksoft.kvision.utils.SnOn((pl.treksoft.kvision.core.Widget)), kotlin.Unit)))/block">block</span><span class="symbol">:</span> <span class="identifier">SnOn</span><span class="symbol"><</span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</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> -<p>Sets an event listener for current widget.</p> </td> </tr> <tr> @@ -330,6 +337,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> @@ -507,6 +540,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="../../pl.treksoft.kvision.form/field-label.html">fieldLabel</a></p> </td> <td> @@ -687,10 +727,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> @@ -699,7 +748,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.check/-radio/remove-event-listener.html b/api/pl.treksoft.kvision.form.check/-radio/remove-event-listener.html new file mode 100644 index 00000000..b8fa14a1 --- /dev/null +++ b/api/pl.treksoft.kvision.form.check/-radio/remove-event-listener.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Radio.removeEventListener - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.form.check</a> / <a href="index.html">Radio</a> / <a href="./remove-event-listener.html">removeEventListener</a><br/> +<br/> +<h1>removeEventListener</h1> +<a name="pl.treksoft.kvision.form.check.Radio$removeEventListener(kotlin.Int)"></a> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeEventListener</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.check.Radio$removeEventListener(kotlin.Int)/id">id</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><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Overrides <a href="../../pl.treksoft.kvision.core/-widget/remove-event-listener.html">Widget.removeEventListener</a></p> +<p>Removes event listener from current widget.</p> +<h3>Parameters</h3> +<p><a name="id"></a> +<code>id</code> - the id of the handler returned by onEvent</p> +<p><strong>Return</strong><br/> +current widget</p> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.form.check/-radio/set-event-listener.html b/api/pl.treksoft.kvision.form.check/-radio/set-event-listener.html index 7e9af724..c3025130 100644 --- a/api/pl.treksoft.kvision.form.check/-radio/set-event-listener.html +++ b/api/pl.treksoft.kvision.form.check/-radio/set-event-listener.html @@ -9,7 +9,7 @@ <br/> <h1>setEventListener</h1> <a name="pl.treksoft.kvision.form.check.Radio$setEventListener(kotlin.Function1((pl.treksoft.kvision.utils.SnOn((pl.treksoft.kvision.form.check.Radio.setEventListener.T)), kotlin.Unit)))"></a> -<code><span class="keyword">open</span> <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> <span class="identifier">setEventListener</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.check.Radio$setEventListener(kotlin.Function1((pl.treksoft.kvision.utils.SnOn((pl.treksoft.kvision.form.check.Radio.setEventListener.T)), kotlin.Unit)))/block">block</span><span class="symbol">:</span> <span class="identifier">SnOn</span><span class="symbol"><</span><a href="set-event-listener.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> +<code><span class="keyword">open</span> <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> <span class="identifier">setEventListener</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.check.Radio$setEventListener(kotlin.Function1((pl.treksoft.kvision.utils.SnOn((pl.treksoft.kvision.form.check.Radio.setEventListener.T)), kotlin.Unit)))/block">block</span><span class="symbol">:</span> <span class="identifier">SnOn</span><span class="symbol"><</span><a href="set-event-listener.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> <p>Overrides <a href="../../pl.treksoft.kvision.core/-widget/set-event-listener.html">Widget.setEventListener</a></p> <p>Sets an event listener for current widget, keeping the actual type of component.</p> <h3>Parameters</h3> @@ -18,7 +18,7 @@ <p><a name="block"></a> <code>block</code> - event handler</p> <p><strong>Return</strong><br/> -<p>current widget</p> +<p>id of the handler</p> <p>Example:</p> @@ -30,28 +30,5 @@ // self is of type Button here } }</code></pre></p> -<a name="pl.treksoft.kvision.form.check.Radio$setEventListener(kotlin.Function1((pl.treksoft.kvision.utils.SnOn((pl.treksoft.kvision.core.Widget)), kotlin.Unit)))"></a> -<code><span class="keyword">open</span> <span class="keyword">fun </span><s><span class="identifier">setEventListener</span></s><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.check.Radio$setEventListener(kotlin.Function1((pl.treksoft.kvision.utils.SnOn((pl.treksoft.kvision.core.Widget)), kotlin.Unit)))/block">block</span><span class="symbol">:</span> <span class="identifier">SnOn</span><span class="symbol"><</span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</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> -<p>Overrides <a href="../../pl.treksoft.kvision.core/-widget/set-event-listener.html">Widget.setEventListener</a></p> -<br/> -<strong>Deprecated:</strong> Use onEvent extension function instead.<br/> -<br/> -<p>Sets an event listener for current widget.</p> -<h3>Parameters</h3> -<p><a name="block"></a> -<code>block</code> - event handler</p> -<p><strong>Return</strong><br/> -<p>current widget</p> - - -<p>Example:</p> - - -<pre><code> button.setEventListener { - dblclick = { - Alert.show("Button double clicked!") - // self is of type Widget here - } - }</code></pre></p> </BODY> </HTML> |