diff options
author | Robert Jaros <rjaros@finn.pl> | 2020-05-21 00:13:50 +0200 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2020-05-21 00:13:50 +0200 |
commit | bfd5aa358e141d6c86d476d8bb66b104a80a3b96 (patch) | |
tree | ef6207d4c4739350637a54fe9263b7ade2a8b51b /api/pl.treksoft.kvision.core/index.html | |
parent | 7dd4af03244265ce1bc8aa00440fec19ce978264 (diff) | |
download | kvision-bfd5aa358e141d6c86d476d8bb66b104a80a3b96.tar.gz kvision-bfd5aa358e141d6c86d476d8bb66b104a80a3b96.tar.bz2 kvision-bfd5aa358e141d6c86d476d8bb66b104a80a3b96.zip |
API documentation for KVision 3.10.0gh-pages
Diffstat (limited to 'api/pl.treksoft.kvision.core/index.html')
-rw-r--r-- | api/pl.treksoft.kvision.core/index.html | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/api/pl.treksoft.kvision.core/index.html b/api/pl.treksoft.kvision.core/index.html index bc083fab..640b2b80 100644 --- a/api/pl.treksoft.kvision.core/index.html +++ b/api/pl.treksoft.kvision.core/index.html @@ -200,6 +200,14 @@ backgrounds, fonts, text and position) and the main Widget class.</p> <tr> <td> (js) +<h4><a href="-easing/index.html">Easing</a></h4> +</td> +<td> +<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">Easing</span></code></td> +</tr> +<tr> +<td> +(js) <h4><a href="-font-style/index.html">FontStyle</a></h4> </td> <td> @@ -533,9 +541,19 @@ backgrounds, fonts, text and position) and the main Widget class.</p> <tr> <td> (js) +<h4><a href="on-click.html">onClick</a></h4> +</td> +<td> +<p>An extension function for defining on click event handlers.</p> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</span> <a href="-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">></span> <span class="identifier">T</span><span class="symbol">.</span><span class="identifier">onClick</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core$onClick(pl.treksoft.kvision.core.onClick.T, kotlin.Function2((pl.treksoft.kvision.core.onClick.T, org.w3c.dom.events.MouseEvent, kotlin.Unit)))/handler">handler</span><span class="symbol">:</span> <span class="identifier">T</span><span class="symbol">.</span><span class="symbol">(</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/org.w3c.dom.events/-mouse-event/index.html"><span class="identifier">MouseEvent</span></a><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> +(js) <h4><a href="on-event.html">onEvent</a></h4> </td> <td> +<p>An extension function for defining event handlers.</p> <code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</span> <a href="-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">></span> <span class="identifier">T</span><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><span class="identifier">T</span><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> @@ -607,7 +625,7 @@ backgrounds, fonts, text and position) and the main Widget class.</p> </td> <td> <p>DSL builder extension function.</p> -<code><span class="keyword">fun </span><a href="-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">widget</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core$widget(pl.treksoft.kvision.core.Container, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.core.Widget, 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.core$widget(pl.treksoft.kvision.core.Container, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.core.Widget, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="-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> <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="-widget/index.html"><span class="identifier">Widget</span></a></code></td> +<code><span class="keyword">fun </span><a href="-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">widget</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core$widget(pl.treksoft.kvision.core.Container, kotlin.collections.Set((kotlin.String)), kotlin.String, kotlin.Function1((pl.treksoft.kvision.core.Widget, 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> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.core$widget(pl.treksoft.kvision.core.Container, kotlin.collections.Set((kotlin.String)), kotlin.String, kotlin.Function1((pl.treksoft.kvision.core.Widget, kotlin.Unit)))/className">className</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.core$widget(pl.treksoft.kvision.core.Container, kotlin.collections.Set((kotlin.String)), kotlin.String, kotlin.Function1((pl.treksoft.kvision.core.Widget, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="-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> <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="-widget/index.html"><span class="identifier">Widget</span></a></code></td> </tr> <tr> <td> @@ -616,7 +634,7 @@ backgrounds, fonts, text and position) and the main Widget class.</p> </td> <td> <p>DSL builder extension function.</p> -<code><span class="keyword">fun </span><a href="-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">widgetWrapper</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core$widgetWrapper(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.core.Component, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.core.WidgetWrapper, kotlin.Unit)))/wrapped">wrapped</span><span class="symbol">:</span> <a href="-component/index.html"><span class="identifier">Component</span></a><span class="symbol">?</span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.core$widgetWrapper(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.core.Component, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.core.WidgetWrapper, 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.core$widgetWrapper(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.core.Component, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.core.WidgetWrapper, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="-widget-wrapper/index.html"><span class="identifier">WidgetWrapper</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="-widget-wrapper/index.html"><span class="identifier">WidgetWrapper</span></a></code></td> +<code><span class="keyword">fun </span><a href="-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">widgetWrapper</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core$widgetWrapper(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.core.Component, kotlin.collections.Set((kotlin.String)), kotlin.String, kotlin.Function1((pl.treksoft.kvision.core.WidgetWrapper, kotlin.Unit)))/wrapped">wrapped</span><span class="symbol">:</span> <a href="-component/index.html"><span class="identifier">Component</span></a><span class="symbol">?</span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.core$widgetWrapper(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.core.Component, kotlin.collections.Set((kotlin.String)), kotlin.String, kotlin.Function1((pl.treksoft.kvision.core.WidgetWrapper, 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> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.core$widgetWrapper(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.core.Component, kotlin.collections.Set((kotlin.String)), kotlin.String, kotlin.Function1((pl.treksoft.kvision.core.WidgetWrapper, kotlin.Unit)))/className">className</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.core$widgetWrapper(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.core.Component, kotlin.collections.Set((kotlin.String)), kotlin.String, kotlin.Function1((pl.treksoft.kvision.core.WidgetWrapper, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="-widget-wrapper/index.html"><span class="identifier">WidgetWrapper</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="-widget-wrapper/index.html"><span class="identifier">WidgetWrapper</span></a></code></td> </tr> </tbody> </table> |