summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.form.check/-check-box
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2020-03-03 10:53:33 +0100
committerRobert Jaros <rjaros@finn.pl>2020-03-03 10:53:33 +0100
commit4ffe1bee99a55e985bb71dacff3839263cb4316f (patch)
treef07b31b6085090757d14821a76917ae90f8dc821 /api/pl.treksoft.kvision.form.check/-check-box
parent4f072661ef1670c9926a21ccc54dff44d7a6de31 (diff)
downloadkvision-4ffe1bee99a55e985bb71dacff3839263cb4316f.tar.gz
kvision-4ffe1bee99a55e985bb71dacff3839263cb4316f.tar.bz2
kvision-4ffe1bee99a55e985bb71dacff3839263cb4316f.zip
API Documentation for KVision 3.0.0
Diffstat (limited to 'api/pl.treksoft.kvision.form.check/-check-box')
-rw-r--r--api/pl.treksoft.kvision.form.check/-check-box/index.html59
-rw-r--r--api/pl.treksoft.kvision.form.check/-check-box/remove-event-listener.html21
-rw-r--r--api/pl.treksoft.kvision.form.check/-check-box/set-event-listener.html27
3 files changed, 77 insertions, 30 deletions
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>&nbsp;<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">&lt;</span><span class="identifier">T</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">&gt;</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>&nbsp;<span class="identifier">SnOn</span><span class="symbol">&lt;</span><a href="set-event-listener.html#T"><span class="identifier">T</span></a><span class="symbol">&gt;</span><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<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">&lt;</span><span class="identifier">T</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">&gt;</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>&nbsp;<span class="identifier">SnOn</span><span class="symbol">&lt;</span><a href="set-event-listener.html#T"><span class="identifier">T</span></a><span class="symbol">&gt;</span><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<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>&nbsp;<span class="identifier">SnOn</span><span class="symbol">&lt;</span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">&gt;</span><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<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">&lt;</span><span class="identifier">T</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">&gt;</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">&lt;ERROR CLASS&gt;</span><span class="symbol">&lt;</span><a href="../../pl.treksoft.kvision.event/change-flow.html#T"><span class="identifier">T</span></a><span class="symbol">&gt;</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">&lt;</span><span class="identifier">T</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">&gt;</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">&lt;ERROR CLASS&gt;</span><span class="symbol">&lt;</span><a href="../../pl.treksoft.kvision.event/click-flow.html#T"><span class="identifier">T</span></a><span class="symbol">&gt;</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">&lt;</span><span class="identifier">T</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">&gt;</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">&lt;ERROR CLASS&gt;</span><span class="symbol">&lt;</span><a href="../../pl.treksoft.kvision.event/input-flow.html#T"><span class="identifier">T</span></a><span class="symbol">&gt;</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">&lt;</span><span class="identifier">T</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">&gt;</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>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">&lt;ERROR CLASS&gt;</span><span class="symbol">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-pair/index.html"><span class="identifier">Pair</span></a><span class="symbol">&lt;</span><a href="../../pl.treksoft.kvision.event/event-flow.html#T"><span class="identifier">T</span></a><span class="symbol">,</span>&nbsp;<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">&gt;</span><span class="symbol">&gt;</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>&nbsp;<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>&nbsp;<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>&nbsp;<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>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html"><span class="identifier">Set</span></a><span class="symbol">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">&gt;</span>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<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>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<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>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.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>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.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>&nbsp;<a href="../../pl.treksoft.kvision.navbar/-navbar-type/index.html"><span class="identifier">NavbarType</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<a href="../../pl.treksoft.kvision.navbar/-navbar-expand/index.html"><span class="identifier">NavbarExpand</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<a href="../../pl.treksoft.kvision.navbar/-navbar-color/index.html"><span class="identifier">NavbarColor</span></a>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<a href="../../pl.treksoft.kvision.core/-bs-bg-color/index.html"><span class="identifier">BsBgColor</span></a>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html"><span class="identifier">Set</span></a><span class="symbol">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">&gt;</span>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<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>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<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>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.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>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.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>&nbsp;<a href="../../pl.treksoft.kvision.navbar/-navbar-type/index.html"><span class="identifier">NavbarType</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<a href="../../pl.treksoft.kvision.navbar/-navbar-expand/index.html"><span class="identifier">NavbarExpand</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<a href="../../pl.treksoft.kvision.navbar/-navbar-color/index.html"><span class="identifier">NavbarColor</span></a>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<a href="../../pl.treksoft.kvision.core/-bs-bg-color/index.html"><span class="identifier">BsBgColor</span></a>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a>&nbsp;<span class="symbol">=</span>&nbsp;false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.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>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html"><span class="identifier">Set</span></a><span class="symbol">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">&gt;</span>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<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>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<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>&nbsp;<span class="symbol">=</span>&nbsp;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">&lt;</span><span class="identifier">T</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">&gt;</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>&nbsp;<span class="identifier">SnOn</span><span class="symbol">&lt;</span><a href="../../pl.treksoft.kvision.core/on-event.html#T"><span class="identifier">T</span></a><span class="symbol">&gt;</span><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<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">&lt;</span><span class="identifier">T</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">&gt;</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>&nbsp;<span class="identifier">SnOn</span><span class="symbol">&lt;</span><a href="../../pl.treksoft.kvision.core/on-event.html#T"><span class="identifier">T</span></a><span class="symbol">&gt;</span><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<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>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.form.check</a>&nbsp;/&nbsp;<a href="index.html">CheckBox</a>&nbsp;/&nbsp;<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>&nbsp;<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">&lt;</span><span class="identifier">T</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">&gt;</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>&nbsp;<span class="identifier">SnOn</span><span class="symbol">&lt;</span><a href="set-event-listener.html#T"><span class="identifier">T</span></a><span class="symbol">&gt;</span><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<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">&lt;</span><span class="identifier">T</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">&gt;</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>&nbsp;<span class="identifier">SnOn</span><span class="symbol">&lt;</span><a href="set-event-listener.html#T"><span class="identifier">T</span></a><span class="symbol">&gt;</span><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<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>&nbsp;<span class="identifier">SnOn</span><span class="symbol">&lt;</span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">&gt;</span><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<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>