summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.event
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2020-05-21 00:13:50 +0200
committerRobert Jaros <rjaros@finn.pl>2020-05-21 00:13:50 +0200
commitbfd5aa358e141d6c86d476d8bb66b104a80a3b96 (patch)
treeef6207d4c4739350637a54fe9263b7ade2a8b51b /api/pl.treksoft.kvision.event
parent7dd4af03244265ce1bc8aa00440fec19ce978264 (diff)
downloadkvision-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')
-rw-r--r--api/pl.treksoft.kvision.event/change-flow.html1
-rw-r--r--api/pl.treksoft.kvision.event/click-flow.html1
-rw-r--r--api/pl.treksoft.kvision.event/event-flow.html1
-rw-r--r--api/pl.treksoft.kvision.event/index.html13
-rw-r--r--api/pl.treksoft.kvision.event/input-flow.html1
-rw-r--r--api/pl.treksoft.kvision.event/state-flow.html15
6 files changed, 32 insertions, 0 deletions
diff --git a/api/pl.treksoft.kvision.event/change-flow.html b/api/pl.treksoft.kvision.event/change-flow.html
index 3de36a33..944c308b 100644
--- a/api/pl.treksoft.kvision.event/change-flow.html
+++ b/api/pl.treksoft.kvision.event/change-flow.html
@@ -10,5 +10,6 @@
<h1>changeFlow</h1>
(js) <a name="pl.treksoft.kvision.event$changeFlow#pl.treksoft.kvision.event.changeFlow.T"></a>
<code><span class="keyword">inline</span> <span class="keyword">val </span><span class="symbol">&lt;</span><span class="keyword">reified</span>&nbsp;<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">T</span><span class="symbol">.</span><span class="identifier">changeFlow</span><span class="symbol">: </span><span class="identifier">Flow</span><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span></code>
+<p>Extension property returning Flow for a change event.</p>
</BODY>
</HTML>
diff --git a/api/pl.treksoft.kvision.event/click-flow.html b/api/pl.treksoft.kvision.event/click-flow.html
index 0b95c3c1..b8e88d70 100644
--- a/api/pl.treksoft.kvision.event/click-flow.html
+++ b/api/pl.treksoft.kvision.event/click-flow.html
@@ -10,5 +10,6 @@
<h1>clickFlow</h1>
(js) <a name="pl.treksoft.kvision.event$clickFlow#pl.treksoft.kvision.event.clickFlow.T"></a>
<code><span class="keyword">inline</span> <span class="keyword">val </span><span class="symbol">&lt;</span><span class="keyword">reified</span>&nbsp;<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">T</span><span class="symbol">.</span><span class="identifier">clickFlow</span><span class="symbol">: </span><span class="identifier">Flow</span><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span></code>
+<p>Extension property returning Flow for a click event.</p>
</BODY>
</HTML>
diff --git a/api/pl.treksoft.kvision.event/event-flow.html b/api/pl.treksoft.kvision.event/event-flow.html
index 727af334..aced2195 100644
--- a/api/pl.treksoft.kvision.event/event-flow.html
+++ b/api/pl.treksoft.kvision.event/event-flow.html
@@ -10,5 +10,6 @@
<h1>eventFlow</h1>
(js) <a name="pl.treksoft.kvision.event$eventFlow(pl.treksoft.kvision.event.eventFlow.T, kotlin.String)"></a>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="keyword">reified</span>&nbsp;<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">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>&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">Flow</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><span class="identifier">T</span><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>
+<p>Extension property returning Flow&lt;Pair&lt;Widget, Event&gt;&gt; for a given event</p>
</BODY>
</HTML>
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">&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">T</span><span class="symbol">.</span><span class="identifier">changeFlow</span><span class="symbol">: </span><span class="identifier">Flow</span><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</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">&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">T</span><span class="symbol">.</span><span class="identifier">clickFlow</span><span class="symbol">: </span><span class="identifier">Flow</span><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</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">&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">T</span><span class="symbol">.</span><span class="identifier">inputFlow</span><span class="symbol">: </span><span class="identifier">Flow</span><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</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">&lt;</span><span class="identifier">S</span><span class="symbol">&gt;</span> <a href="../pl.treksoft.kvision.state/-observable-state/index.html"><span class="identifier">ObservableState</span></a><span class="symbol">&lt;</span><span class="identifier">S</span><span class="symbol">&gt;</span><span class="symbol">.</span><span class="identifier">stateFlow</span><span class="symbol">: </span><span class="identifier">StateFlow</span><span class="symbol">&lt;</span><span class="identifier">S</span><span class="symbol">&gt;</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&lt;Pair&lt;Widget, Event&gt;&gt; for a given event</p>
<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> <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>&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">Flow</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><span class="identifier">T</span><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>
</tbody>
diff --git a/api/pl.treksoft.kvision.event/input-flow.html b/api/pl.treksoft.kvision.event/input-flow.html
index b25d508f..55393ad4 100644
--- a/api/pl.treksoft.kvision.event/input-flow.html
+++ b/api/pl.treksoft.kvision.event/input-flow.html
@@ -10,5 +10,6 @@
<h1>inputFlow</h1>
(js) <a name="pl.treksoft.kvision.event$inputFlow#pl.treksoft.kvision.event.inputFlow.T"></a>
<code><span class="keyword">inline</span> <span class="keyword">val </span><span class="symbol">&lt;</span><span class="keyword">reified</span>&nbsp;<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">T</span><span class="symbol">.</span><span class="identifier">inputFlow</span><span class="symbol">: </span><span class="identifier">Flow</span><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span></code>
+<p>Extension property returning Flow for an input event.</p>
</BODY>
</HTML>
diff --git a/api/pl.treksoft.kvision.event/state-flow.html b/api/pl.treksoft.kvision.event/state-flow.html
new file mode 100644
index 00000000..1a08106d
--- /dev/null
+++ b/api/pl.treksoft.kvision.event/state-flow.html
@@ -0,0 +1,15 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>stateFlow - 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.event</a>&nbsp;/&nbsp;<a href="./state-flow.html">stateFlow</a><br/>
+<br/>
+<h1>stateFlow</h1>
+(js) <a name="pl.treksoft.kvision.event$stateFlow#pl.treksoft.kvision.state.ObservableState((pl.treksoft.kvision.event.stateFlow.S))"></a>
+<code><span class="keyword">inline</span> <span class="keyword">val </span><span class="symbol">&lt;</span><span class="identifier">S</span><span class="symbol">&gt;</span> <a href="../pl.treksoft.kvision.state/-observable-state/index.html"><span class="identifier">ObservableState</span></a><span class="symbol">&lt;</span><span class="identifier">S</span><span class="symbol">&gt;</span><span class="symbol">.</span><span class="identifier">stateFlow</span><span class="symbol">: </span><span class="identifier">StateFlow</span><span class="symbol">&lt;</span><span class="identifier">S</span><span class="symbol">&gt;</span></code>
+<p>Extension property returning StateFlow for an ObservableState.</p>
+</BODY>
+</HTML>