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.event/index.html | |
parent | 7dd4af03244265ce1bc8aa00440fec19ce978264 (diff) | |
download | kvision-gh-pages.tar.gz kvision-gh-pages.tar.bz2 kvision-gh-pages.zip |
API documentation for KVision 3.10.0gh-pages
Diffstat (limited to 'api/pl.treksoft.kvision.event/index.html')
-rw-r--r-- | api/pl.treksoft.kvision.event/index.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/api/pl.treksoft.kvision.event/index.html b/api/pl.treksoft.kvision.event/index.html index 629dbb1a..2f8f5610 100644 --- a/api/pl.treksoft.kvision.event/index.html +++ b/api/pl.treksoft.kvision.event/index.html @@ -18,6 +18,7 @@ <h4><a href="change-flow.html">changeFlow</a></h4> </td> <td> +<p>Extension property returning Flow for a change event.</p> <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> <span class="identifier">T</span><span class="symbol">.</span><span class="identifier">changeFlow</span><span class="symbol">: </span><span class="identifier">Flow</span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span></code></td> </tr> <tr> @@ -26,6 +27,7 @@ <h4><a href="click-flow.html">clickFlow</a></h4> </td> <td> +<p>Extension property returning Flow for a click event.</p> <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> <span class="identifier">T</span><span class="symbol">.</span><span class="identifier">clickFlow</span><span class="symbol">: </span><span class="identifier">Flow</span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span></code></td> </tr> <tr> @@ -34,8 +36,18 @@ <h4><a href="input-flow.html">inputFlow</a></h4> </td> <td> +<p>Extension property returning Flow for an input event.</p> <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> <span class="identifier">T</span><span class="symbol">.</span><span class="identifier">inputFlow</span><span class="symbol">: </span><span class="identifier">Flow</span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span></code></td> </tr> +<tr> +<td> +(js) +<h4><a href="state-flow.html">stateFlow</a></h4> +</td> +<td> +<p>Extension property returning StateFlow for an ObservableState.</p> +<code><span class="keyword">val </span><span class="symbol"><</span><span class="identifier">S</span><span class="symbol">></span> <a href="../pl.treksoft.kvision.state/-observable-state/index.html"><span class="identifier">ObservableState</span></a><span class="symbol"><</span><span class="identifier">S</span><span class="symbol">></span><span class="symbol">.</span><span class="identifier">stateFlow</span><span class="symbol">: </span><span class="identifier">StateFlow</span><span class="symbol"><</span><span class="identifier">S</span><span class="symbol">></span></code></td> +</tr> </tbody> </table> <h3>Functions</h3> @@ -47,6 +59,7 @@ <h4><a href="event-flow.html">eventFlow</a></h4> </td> <td> +<p>Extension property returning Flow<Pair<Widget, Event>> for a given event</p> <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> <span class="identifier">T</span><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">Flow</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><span class="identifier">T</span><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> </tbody> |