diff options
Diffstat (limited to 'api/pl.treksoft.kvision.state')
39 files changed, 241 insertions, 820 deletions
diff --git a/api/pl.treksoft.kvision.state/-observable-list-wrapper/-init-.html b/api/pl.treksoft.kvision.state/-observable-list-wrapper/-init-.html index d7d046ba..c47a2406 100644 --- a/api/pl.treksoft.kvision.state/-observable-list-wrapper/-init-.html +++ b/api/pl.treksoft.kvision.state/-observable-list-wrapper/-init-.html @@ -8,8 +8,8 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.state</a> / <a href="index.html">ObservableListWrapper</a> / <a href="./-init-.html"><init></a><br/> <br/> <h1><init></h1> -<a name="pl.treksoft.kvision.state.ObservableListWrapper$<init>(kotlin.collections.MutableList((pl.treksoft.kvision.state.ObservableListWrapper.T)))"></a> -<code><span class="identifier">ObservableListWrapper</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$<init>(kotlin.collections.MutableList((pl.treksoft.kvision.state.ObservableListWrapper.T)))/mutableList">mutableList</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html"><span class="identifier">MutableList</span></a><span class="symbol"><</span><a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">></span> <span class="symbol">=</span> mutableListOf()<span class="symbol">)</span></code> +(js) <a name="pl.treksoft.kvision.state.ObservableListWrapper$<init>(kotlin.collections.MutableList((pl.treksoft.kvision.state.ObservableListWrapper.T)))"></a> +<code><span class="identifier">ObservableListWrapper</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$<init>(kotlin.collections.MutableList((pl.treksoft.kvision.state.ObservableListWrapper.T)))/mutableList">mutableList</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html"><span class="identifier">MutableList</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span> <span class="symbol">=</span> mutableListOf()<span class="symbol">)</span></code> <p>Simple observable list implementation.</p> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.state/-observable-list-wrapper/add-all.html b/api/pl.treksoft.kvision.state/-observable-list-wrapper/add-all.html index 4771b2be..74ea5bce 100644 --- a/api/pl.treksoft.kvision.state/-observable-list-wrapper/add-all.html +++ b/api/pl.treksoft.kvision.state/-observable-list-wrapper/add-all.html @@ -8,9 +8,9 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.state</a> / <a href="index.html">ObservableListWrapper</a> / <a href="./add-all.html">addAll</a><br/> <br/> <h1>addAll</h1> -<a name="pl.treksoft.kvision.state.ObservableListWrapper$addAll(kotlin.collections.Collection((pl.treksoft.kvision.state.ObservableListWrapper.T)))"></a> -<code><span class="keyword">fun </span><span class="identifier">addAll</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$addAll(kotlin.collections.Collection((pl.treksoft.kvision.state.ObservableListWrapper.T)))/elements">elements</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-collection/index.html"><span class="identifier">Collection</span></a><span class="symbol"><</span><a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code><br/> +(js) <a name="pl.treksoft.kvision.state.ObservableListWrapper$addAll(kotlin.collections.Collection((pl.treksoft.kvision.state.ObservableListWrapper.T)))"></a> +<code><span class="keyword">fun </span><span class="identifier">addAll</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$addAll(kotlin.collections.Collection((pl.treksoft.kvision.state.ObservableListWrapper.T)))/elements">elements</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-collection/index.html"><span class="identifier">Collection</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code><br/> <a name="pl.treksoft.kvision.state.ObservableListWrapper$addAll(kotlin.Int, kotlin.collections.Collection((pl.treksoft.kvision.state.ObservableListWrapper.T)))"></a> -<code><span class="keyword">fun </span><span class="identifier">addAll</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$addAll(kotlin.Int, kotlin.collections.Collection((pl.treksoft.kvision.state.ObservableListWrapper.T)))/index">index</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="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$addAll(kotlin.Int, kotlin.collections.Collection((pl.treksoft.kvision.state.ObservableListWrapper.T)))/elements">elements</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-collection/index.html"><span class="identifier">Collection</span></a><span class="symbol"><</span><a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code> +<code><span class="keyword">fun </span><span class="identifier">addAll</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$addAll(kotlin.Int, kotlin.collections.Collection((pl.treksoft.kvision.state.ObservableListWrapper.T)))/index">index</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="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$addAll(kotlin.Int, kotlin.collections.Collection((pl.treksoft.kvision.state.ObservableListWrapper.T)))/elements">elements</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-collection/index.html"><span class="identifier">Collection</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.state/-observable-list-wrapper/add.html b/api/pl.treksoft.kvision.state/-observable-list-wrapper/add.html index f2cc3a4c..b24a444e 100644 --- a/api/pl.treksoft.kvision.state/-observable-list-wrapper/add.html +++ b/api/pl.treksoft.kvision.state/-observable-list-wrapper/add.html @@ -8,9 +8,9 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.state</a> / <a href="index.html">ObservableListWrapper</a> / <a href="./add.html">add</a><br/> <br/> <h1>add</h1> -<a name="pl.treksoft.kvision.state.ObservableListWrapper$add(pl.treksoft.kvision.state.ObservableListWrapper.T)"></a> -<code><span class="keyword">fun </span><span class="identifier">add</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$add(pl.treksoft.kvision.state.ObservableListWrapper.T)/element">element</span><span class="symbol">:</span> <a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code><br/> +(js) <a name="pl.treksoft.kvision.state.ObservableListWrapper$add(pl.treksoft.kvision.state.ObservableListWrapper.T)"></a> +<code><span class="keyword">fun </span><span class="identifier">add</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$add(pl.treksoft.kvision.state.ObservableListWrapper.T)/element">element</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/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code><br/> <a name="pl.treksoft.kvision.state.ObservableListWrapper$add(kotlin.Int, pl.treksoft.kvision.state.ObservableListWrapper.T)"></a> -<code><span class="keyword">fun </span><span class="identifier">add</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$add(kotlin.Int, pl.treksoft.kvision.state.ObservableListWrapper.T)/index">index</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="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$add(kotlin.Int, pl.treksoft.kvision.state.ObservableListWrapper.T)/element">element</span><span class="symbol">:</span> <a href="index.html#T"><span class="identifier">T</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></code> +<code><span class="keyword">fun </span><span class="identifier">add</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$add(kotlin.Int, pl.treksoft.kvision.state.ObservableListWrapper.T)/index">index</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="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$add(kotlin.Int, pl.treksoft.kvision.state.ObservableListWrapper.T)/element">element</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/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.state/-observable-list-wrapper/clear.html b/api/pl.treksoft.kvision.state/-observable-list-wrapper/clear.html index 709a8aad..2b0b5d57 100644 --- a/api/pl.treksoft.kvision.state/-observable-list-wrapper/clear.html +++ b/api/pl.treksoft.kvision.state/-observable-list-wrapper/clear.html @@ -8,7 +8,7 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.state</a> / <a href="index.html">ObservableListWrapper</a> / <a href="./clear.html">clear</a><br/> <br/> <h1>clear</h1> -<a name="pl.treksoft.kvision.state.ObservableListWrapper$clear()"></a> +(js) <a name="pl.treksoft.kvision.state.ObservableListWrapper$clear()"></a> <code><span class="keyword">fun </span><span class="identifier">clear</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></code> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.state/-observable-list-wrapper/contains-all.html b/api/pl.treksoft.kvision.state/-observable-list-wrapper/contains-all.html index 485d160c..2bcb12c0 100644 --- a/api/pl.treksoft.kvision.state/-observable-list-wrapper/contains-all.html +++ b/api/pl.treksoft.kvision.state/-observable-list-wrapper/contains-all.html @@ -8,7 +8,7 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.state</a> / <a href="index.html">ObservableListWrapper</a> / <a href="./contains-all.html">containsAll</a><br/> <br/> <h1>containsAll</h1> -<a name="pl.treksoft.kvision.state.ObservableListWrapper$containsAll(kotlin.collections.Collection((pl.treksoft.kvision.state.ObservableListWrapper.T)))"></a> -<code><span class="keyword">fun </span><span class="identifier">containsAll</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$containsAll(kotlin.collections.Collection((pl.treksoft.kvision.state.ObservableListWrapper.T)))/elements">elements</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-collection/index.html"><span class="identifier">Collection</span></a><span class="symbol"><</span><a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code> +(js) <a name="pl.treksoft.kvision.state.ObservableListWrapper$containsAll(kotlin.collections.Collection((pl.treksoft.kvision.state.ObservableListWrapper.T)))"></a> +<code><span class="keyword">fun </span><span class="identifier">containsAll</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$containsAll(kotlin.collections.Collection((pl.treksoft.kvision.state.ObservableListWrapper.T)))/elements">elements</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-collection/index.html"><span class="identifier">Collection</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.state/-observable-list-wrapper/contains.html b/api/pl.treksoft.kvision.state/-observable-list-wrapper/contains.html index 6a5b1c63..b5c8cf5a 100644 --- a/api/pl.treksoft.kvision.state/-observable-list-wrapper/contains.html +++ b/api/pl.treksoft.kvision.state/-observable-list-wrapper/contains.html @@ -8,7 +8,7 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.state</a> / <a href="index.html">ObservableListWrapper</a> / <a href="./contains.html">contains</a><br/> <br/> <h1>contains</h1> -<a name="pl.treksoft.kvision.state.ObservableListWrapper$contains(pl.treksoft.kvision.state.ObservableListWrapper.T)"></a> -<code><span class="keyword">fun </span><span class="identifier">contains</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$contains(pl.treksoft.kvision.state.ObservableListWrapper.T)/element">element</span><span class="symbol">:</span> <a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code> +(js) <a name="pl.treksoft.kvision.state.ObservableListWrapper$contains(pl.treksoft.kvision.state.ObservableListWrapper.T)"></a> +<code><span class="keyword">fun </span><span class="identifier">contains</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$contains(pl.treksoft.kvision.state.ObservableListWrapper.T)/element">element</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/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.state/-observable-list-wrapper/get-state.html b/api/pl.treksoft.kvision.state/-observable-list-wrapper/get-state.html index f31e3318..86332e61 100644 --- a/api/pl.treksoft.kvision.state/-observable-list-wrapper/get-state.html +++ b/api/pl.treksoft.kvision.state/-observable-list-wrapper/get-state.html @@ -8,9 +8,8 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.state</a> / <a href="index.html">ObservableListWrapper</a> / <a href="./get-state.html">getState</a><br/> <br/> <h1>getState</h1> -<a name="pl.treksoft.kvision.state.ObservableListWrapper$getState()"></a> -<code><span class="keyword">fun </span><span class="identifier">getState</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">></span></code> -<p>Overrides <a href="../-observable-state/get-state.html">ObservableState.getState</a></p> +(js) <a name="pl.treksoft.kvision.state.ObservableListWrapper$getState()"></a> +<code><span class="keyword">fun </span><span class="identifier">getState</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span></code> <p>Get current state.</p> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.state/-observable-list-wrapper/get.html b/api/pl.treksoft.kvision.state/-observable-list-wrapper/get.html index f54b46ab..060c22bc 100644 --- a/api/pl.treksoft.kvision.state/-observable-list-wrapper/get.html +++ b/api/pl.treksoft.kvision.state/-observable-list-wrapper/get.html @@ -8,7 +8,7 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.state</a> / <a href="index.html">ObservableListWrapper</a> / <a href="./get.html">get</a><br/> <br/> <h1>get</h1> -<a name="pl.treksoft.kvision.state.ObservableListWrapper$get(kotlin.Int)"></a> -<code><span class="keyword">fun </span><span class="identifier">get</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$get(kotlin.Int)/index">index</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="index.html#T"><span class="identifier">T</span></a></code> +(js) <a name="pl.treksoft.kvision.state.ObservableListWrapper$get(kotlin.Int)"></a> +<code><span class="keyword">fun </span><span class="identifier">get</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$get(kotlin.Int)/index">index</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><span class="identifier">T</span></code> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.state/-observable-list-wrapper/index-of.html b/api/pl.treksoft.kvision.state/-observable-list-wrapper/index-of.html index 7a6245e9..9087c14f 100644 --- a/api/pl.treksoft.kvision.state/-observable-list-wrapper/index-of.html +++ b/api/pl.treksoft.kvision.state/-observable-list-wrapper/index-of.html @@ -8,7 +8,7 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.state</a> / <a href="index.html">ObservableListWrapper</a> / <a href="./index-of.html">indexOf</a><br/> <br/> <h1>indexOf</h1> -<a name="pl.treksoft.kvision.state.ObservableListWrapper$indexOf(pl.treksoft.kvision.state.ObservableListWrapper.T)"></a> -<code><span class="keyword">fun </span><span class="identifier">indexOf</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$indexOf(pl.treksoft.kvision.state.ObservableListWrapper.T)/element">element</span><span class="symbol">:</span> <a href="index.html#T"><span class="identifier">T</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> +(js) <a name="pl.treksoft.kvision.state.ObservableListWrapper$indexOf(pl.treksoft.kvision.state.ObservableListWrapper.T)"></a> +<code><span class="keyword">fun </span><span class="identifier">indexOf</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$indexOf(pl.treksoft.kvision.state.ObservableListWrapper.T)/element">element</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/kotlin/-int/index.html"><span class="identifier">Int</span></a></code> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.state/-observable-list-wrapper/index.html b/api/pl.treksoft.kvision.state/-observable-list-wrapper/index.html index e5d635d1..95f8a34f 100644 --- a/api/pl.treksoft.kvision.state/-observable-list-wrapper/index.html +++ b/api/pl.treksoft.kvision.state/-observable-list-wrapper/index.html @@ -8,19 +8,19 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.state</a> / <a href="./index.html">ObservableListWrapper</a><br/> <br/> <h1>ObservableListWrapper</h1> -<code><span class="keyword">class </span><span class="identifier">ObservableListWrapper</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/kotlin.collections/-mutable-list/index.html"><span class="identifier">MutableList</span></a><span class="symbol"><</span><a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">, </span><a href="../-observable-list/index.html"><span class="identifier">ObservableList</span></a><span class="symbol"><</span><a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">, </span><a href="../-observable-state/index.html"><span class="identifier">ObservableState</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">></span></code> +(js) <code><span class="keyword">class </span><span class="identifier">ObservableListWrapper</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/kotlin.collections/-mutable-list/index.html"><span class="identifier">MutableList</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span><span class="symbol">, </span><a href="../-observable-list/index.html"><span class="identifier">ObservableList</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span><span class="symbol">, </span><a href="../-observable-state/index.html"><span class="identifier">ObservableState</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span><span class="symbol">></span></code> <p>Simple observable list implementation.</p> <h3>Constructors</h3> <table> <tbody> <tr> <td> -<p><a href="-init-.html"><init></a></p> +(js) +<h4><a href="-init-.html"><init></a></h4> </td> <td> -<code><span class="identifier">ObservableListWrapper</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$<init>(kotlin.collections.MutableList((pl.treksoft.kvision.state.ObservableListWrapper.T)))/mutableList">mutableList</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html"><span class="identifier">MutableList</span></a><span class="symbol"><</span><a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">></span> <span class="symbol">=</span> mutableListOf()<span class="symbol">)</span></code> <p>Simple observable list implementation.</p> -</td> +<code><span class="identifier">ObservableListWrapper</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$<init>(kotlin.collections.MutableList((pl.treksoft.kvision.state.ObservableListWrapper.T)))/mutableList">mutableList</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html"><span class="identifier">MutableList</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span> <span class="symbol">=</span> mutableListOf()<span class="symbol">)</span></code></td> </tr> </tbody> </table> @@ -29,21 +29,24 @@ <tbody> <tr> <td> -<p><a href="mutable-list.html">mutableList</a></p> +(js) +<h4><a href="mutable-list.html">mutableList</a></h4> </td> <td> -<code><span class="keyword">val </span><span class="identifier">mutableList</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html"><span class="identifier">MutableList</span></a><span class="symbol"><</span><a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">></span></code></td> +<code><span class="keyword">val </span><span class="identifier">mutableList</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html"><span class="identifier">MutableList</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span></code></td> </tr> <tr> <td> -<p><a href="on-update.html">onUpdate</a></p> +(js) +<h4><a href="on-update.html">onUpdate</a></h4> </td> <td> -<code><span class="keyword">val </span><span class="identifier">onUpdate</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-collection/index.html"><span class="identifier">MutableCollection</span></a><span class="symbol"><</span><span class="symbol">(</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html"><span class="identifier">MutableList</span></a><span class="symbol"><</span><a href="index.html#T"><span class="identifier">T</span></a><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></code></td> +<code><span class="keyword">val </span><span class="identifier">onUpdate</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-collection/index.html"><span class="identifier">MutableCollection</span></a><span class="symbol"><</span><span class="symbol">(</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html"><span class="identifier">MutableList</span></a><span class="symbol"><</span><span class="identifier">T</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></code></td> </tr> <tr> <td> -<p><a href="size.html">size</a></p> +(js) +<h4><a href="size.html">size</a></h4> </td> <td> <code><span class="keyword">val </span><span class="identifier">size</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> @@ -55,166 +58,160 @@ <tbody> <tr> <td> -<p><a href="add.html">add</a></p> +(js) +<h4><a href="add.html">add</a></h4> </td> <td> -<code><span class="keyword">fun </span><span class="identifier">add</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$add(pl.treksoft.kvision.state.ObservableListWrapper.T)/element">element</span><span class="symbol">:</span> <a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code><br/> -<code><span class="keyword">fun </span><span class="identifier">add</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$add(kotlin.Int, pl.treksoft.kvision.state.ObservableListWrapper.T)/index">index</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="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$add(kotlin.Int, pl.treksoft.kvision.state.ObservableListWrapper.T)/element">element</span><span class="symbol">:</span> <a href="index.html#T"><span class="identifier">T</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></code></td> +<code><span class="keyword">fun </span><span class="identifier">add</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$add(pl.treksoft.kvision.state.ObservableListWrapper.T)/element">element</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/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code><br/> +<code><span class="keyword">fun </span><span class="identifier">add</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$add(kotlin.Int, pl.treksoft.kvision.state.ObservableListWrapper.T)/index">index</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="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$add(kotlin.Int, pl.treksoft.kvision.state.ObservableListWrapper.T)/element">element</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/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code></td> </tr> <tr> <td> -<p><a href="add-all.html">addAll</a></p> +(js) +<h4><a href="add-all.html">addAll</a></h4> </td> <td> -<code><span class="keyword">fun </span><span class="identifier">addAll</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$addAll(kotlin.collections.Collection((pl.treksoft.kvision.state.ObservableListWrapper.T)))/elements">elements</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-collection/index.html"><span class="identifier">Collection</span></a><span class="symbol"><</span><a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code><br/> -<code><span class="keyword">fun </span><span class="identifier">addAll</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$addAll(kotlin.Int, kotlin.collections.Collection((pl.treksoft.kvision.state.ObservableListWrapper.T)))/index">index</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="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$addAll(kotlin.Int, kotlin.collections.Collection((pl.treksoft.kvision.state.ObservableListWrapper.T)))/elements">elements</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-collection/index.html"><span class="identifier">Collection</span></a><span class="symbol"><</span><a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code></td> +<code><span class="keyword">fun </span><span class="identifier">addAll</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$addAll(kotlin.collections.Collection((pl.treksoft.kvision.state.ObservableListWrapper.T)))/elements">elements</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-collection/index.html"><span class="identifier">Collection</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code><br/> +<code><span class="keyword">fun </span><span class="identifier">addAll</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$addAll(kotlin.Int, kotlin.collections.Collection((pl.treksoft.kvision.state.ObservableListWrapper.T)))/index">index</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="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$addAll(kotlin.Int, kotlin.collections.Collection((pl.treksoft.kvision.state.ObservableListWrapper.T)))/elements">elements</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-collection/index.html"><span class="identifier">Collection</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code></td> </tr> <tr> <td> -<p><a href="clear.html">clear</a></p> +(js) +<h4><a href="clear.html">clear</a></h4> </td> <td> <code><span class="keyword">fun </span><span class="identifier">clear</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></code></td> </tr> <tr> <td> -<p><a href="contains.html">contains</a></p> +(js) +<h4><a href="contains.html">contains</a></h4> </td> <td> -<code><span class="keyword">fun </span><span class="identifier">contains</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$contains(pl.treksoft.kvision.state.ObservableListWrapper.T)/element">element</span><span class="symbol">:</span> <a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code></td> +<code><span class="keyword">fun </span><span class="identifier">contains</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$contains(pl.treksoft.kvision.state.ObservableListWrapper.T)/element">element</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/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code></td> </tr> <tr> <td> -<p><a href="contains-all.html">containsAll</a></p> +(js) +<h4><a href="contains-all.html">containsAll</a></h4> </td> <td> -<code><span class="keyword">fun </span><span class="identifier">containsAll</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$containsAll(kotlin.collections.Collection((pl.treksoft.kvision.state.ObservableListWrapper.T)))/elements">elements</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-collection/index.html"><span class="identifier">Collection</span></a><span class="symbol"><</span><a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code></td> +<code><span class="keyword">fun </span><span class="identifier">containsAll</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$containsAll(kotlin.collections.Collection((pl.treksoft.kvision.state.ObservableListWrapper.T)))/elements">elements</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-collection/index.html"><span class="identifier">Collection</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code></td> </tr> <tr> <td> -<p><a href="get.html">get</a></p> +(js) +<h4><a href="get.html">get</a></h4> </td> <td> -<code><span class="keyword">fun </span><span class="identifier">get</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$get(kotlin.Int)/index">index</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="index.html#T"><span class="identifier">T</span></a></code></td> +<code><span class="keyword">fun </span><span class="identifier">get</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$get(kotlin.Int)/index">index</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><span class="identifier">T</span></code></td> </tr> <tr> <td> -<p><a href="get-state.html">getState</a></p> +(js) +<h4><a href="get-state.html">getState</a></h4> </td> <td> -<code><span class="keyword">fun </span><span class="identifier">getState</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">></span></code> <p>Get current state.</p> -</td> +<code><span class="keyword">fun </span><span class="identifier">getState</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span></code></td> </tr> <tr> <td> -<p><a href="index-of.html">indexOf</a></p> +(js) +<h4><a href="index-of.html">indexOf</a></h4> </td> <td> -<code><span class="keyword">fun </span><span class="identifier">indexOf</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$indexOf(pl.treksoft.kvision.state.ObservableListWrapper.T)/element">element</span><span class="symbol">:</span> <a href="index.html#T"><span class="identifier">T</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> +<code><span class="keyword">fun </span><span class="identifier">indexOf</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$indexOf(pl.treksoft.kvision.state.ObservableListWrapper.T)/element">element</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/kotlin/-int/index.html"><span class="identifier">Int</span></a></code></td> </tr> <tr> <td> -<p><a href="is-empty.html">isEmpty</a></p> +(js) +<h4><a href="is-empty.html">isEmpty</a></h4> </td> <td> <code><span class="keyword">fun </span><span class="identifier">isEmpty</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code></td> </tr> <tr> <td> -<p><a href="iterator.html">iterator</a></p> +(js) +<h4><a href="iterator.html">iterator</a></h4> </td> <td> -<code><span class="keyword">fun </span><span class="identifier">iterator</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-iterator/index.html"><span class="identifier">MutableIterator</span></a><span class="symbol"><</span><a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">></span></code></td> +<code><span class="keyword">fun </span><span class="identifier">iterator</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-iterator/index.html"><span class="identifier">MutableIterator</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span></code></td> </tr> <tr> <td> -<p><a href="last-index-of.html">lastIndexOf</a></p> +(js) +<h4><a href="last-index-of.html">lastIndexOf</a></h4> </td> <td> -<code><span class="keyword">fun </span><span class="identifier">lastIndexOf</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$lastIndexOf(pl.treksoft.kvision.state.ObservableListWrapper.T)/element">element</span><span class="symbol">:</span> <a href="index.html#T"><span class="identifier">T</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> +<code><span class="keyword">fun </span><span class="identifier">lastIndexOf</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$lastIndexOf(pl.treksoft.kvision.state.ObservableListWrapper.T)/element">element</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/kotlin/-int/index.html"><span class="identifier">Int</span></a></code></td> </tr> <tr> <td> -<p><a href="list-iterator.html">listIterator</a></p> +(js) +<h4><a href="list-iterator.html">listIterator</a></h4> </td> <td> -<code><span class="keyword">fun </span><span class="identifier">listIterator</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list-iterator/index.html"><span class="identifier">MutableListIterator</span></a><span class="symbol"><</span><a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">></span></code><br/> -<code><span class="keyword">fun </span><span class="identifier">listIterator</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$listIterator(kotlin.Int)/index">index</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="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list-iterator/index.html"><span class="identifier">MutableListIterator</span></a><span class="symbol"><</span><a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">></span></code></td> +<code><span class="keyword">fun </span><span class="identifier">listIterator</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list-iterator/index.html"><span class="identifier">MutableListIterator</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span></code><br/> +<code><span class="keyword">fun </span><span class="identifier">listIterator</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$listIterator(kotlin.Int)/index">index</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="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list-iterator/index.html"><span class="identifier">MutableListIterator</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span></code></td> </tr> <tr> <td> -<p><a href="remove.html">remove</a></p> +(js) +<h4><a href="remove.html">remove</a></h4> </td> <td> -<code><span class="keyword">fun </span><span class="identifier">remove</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$remove(pl.treksoft.kvision.state.ObservableListWrapper.T)/element">element</span><span class="symbol">:</span> <a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code></td> +<code><span class="keyword">fun </span><span class="identifier">remove</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$remove(pl.treksoft.kvision.state.ObservableListWrapper.T)/element">element</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/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code></td> </tr> <tr> <td> -<p><a href="remove-all.html">removeAll</a></p> +(js) +<h4><a href="remove-all.html">removeAll</a></h4> </td> <td> -<code><span class="keyword">fun </span><span class="identifier">removeAll</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$removeAll(kotlin.collections.Collection((pl.treksoft.kvision.state.ObservableListWrapper.T)))/elements">elements</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-collection/index.html"><span class="identifier">Collection</span></a><span class="symbol"><</span><a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code></td> +<code><span class="keyword">fun </span><span class="identifier">removeAll</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$removeAll(kotlin.collections.Collection((pl.treksoft.kvision.state.ObservableListWrapper.T)))/elements">elements</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-collection/index.html"><span class="identifier">Collection</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code></td> </tr> <tr> <td> -<p><a href="remove-at.html">removeAt</a></p> +(js) +<h4><a href="remove-at.html">removeAt</a></h4> </td> <td> -<code><span class="keyword">fun </span><span class="identifier">removeAt</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$removeAt(kotlin.Int)/index">index</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="index.html#T"><span class="identifier">T</span></a></code></td> +<code><span class="keyword">fun </span><span class="identifier">removeAt</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$removeAt(kotlin.Int)/index">index</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><span class="identifier">T</span></code></td> </tr> <tr> <td> -<p><a href="retain-all.html">retainAll</a></p> +(js) +<h4><a href="retain-all.html">retainAll</a></h4> </td> <td> -<code><span class="keyword">fun </span><span class="identifier">retainAll</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$retainAll(kotlin.collections.Collection((pl.treksoft.kvision.state.ObservableListWrapper.T)))/elements">elements</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-collection/index.html"><span class="identifier">Collection</span></a><span class="symbol"><</span><a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code></td> +<code><span class="keyword">fun </span><span class="identifier">retainAll</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$retainAll(kotlin.collections.Collection((pl.treksoft.kvision.state.ObservableListWrapper.T)))/elements">elements</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-collection/index.html"><span class="identifier">Collection</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code></td> </tr> <tr> <td> -<p><a href="set.html">set</a></p> +(js) +<h4><a href="set.html">set</a></h4> </td> <td> -<code><span class="keyword">fun </span><span class="identifier">set</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$set(kotlin.Int, pl.treksoft.kvision.state.ObservableListWrapper.T)/index">index</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="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$set(kotlin.Int, pl.treksoft.kvision.state.ObservableListWrapper.T)/element">element</span><span class="symbol">:</span> <a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="index.html#T"><span class="identifier">T</span></a></code></td> +<code><span class="keyword">fun </span><span class="identifier">set</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$set(kotlin.Int, pl.treksoft.kvision.state.ObservableListWrapper.T)/index">index</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="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$set(kotlin.Int, pl.treksoft.kvision.state.ObservableListWrapper.T)/element">element</span><span class="symbol">:</span> <span class="identifier">T</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">T</span></code></td> </tr> <tr> <td> -<p><a href="sub-list.html">subList</a></p> +(js) +<h4><a href="sub-list.html">subList</a></h4> </td> <td> -<code><span class="keyword">fun </span><span class="identifier">subList</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$subList(kotlin.Int, kotlin.Int)/fromIndex">fromIndex</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="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$subList(kotlin.Int, kotlin.Int)/toIndex">toIndex</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="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html"><span class="identifier">MutableList</span></a><span class="symbol"><</span><a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">></span></code></td> +<code><span class="keyword">fun </span><span class="identifier">subList</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$subList(kotlin.Int, kotlin.Int)/fromIndex">fromIndex</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="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$subList(kotlin.Int, kotlin.Int)/toIndex">toIndex</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="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html"><span class="identifier">MutableList</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span></code></td> </tr> <tr> <td> -<p><a href="subscribe.html">subscribe</a></p> +(js) +<h4><a href="subscribe.html">subscribe</a></h4> </td> <td> -<code><span class="keyword">fun </span><span class="identifier">subscribe</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$subscribe(kotlin.Function1((kotlin.collections.List((pl.treksoft.kvision.state.ObservableListWrapper.T)), kotlin.Unit)))/observer">observer</span><span class="symbol">:</span> <span class="symbol">(</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="index.html#T"><span class="identifier">T</span></a><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><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></code> <p>Subscribe for the state change notifications.</p> -</td> -</tr> -</tbody> -</table> -<h3>Extension Functions</h3> -<table> -<tbody> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.utils/kotlin.-any/create-instance.html">createInstance</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="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">?</span><span class="symbol">.</span><span class="identifier">createInstance</span><span class="symbol">(</span><span class="keyword">vararg</span> <span class="identifier" id="pl.treksoft.kvision.utils$createInstance(kotlin.Any, kotlin.Array((kotlin.Any)))/args">args</span><span class="symbol">:</span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.utils/kotlin.-any/create-instance.html#T"><span class="identifier">T</span></a></code> -<p>Helper function for creating JavaScript objects from dynamic constructors.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.utils/kotlin.collections.-mutable-list/sync-with-list.html">syncWithList</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="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html"><span class="identifier">MutableList</span></a><span class="symbol"><</span><a href="../../pl.treksoft.kvision.utils/kotlin.collections.-mutable-list/sync-with-list.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">.</span><span class="identifier">syncWithList</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.utils$syncWithList(kotlin.collections.MutableList((pl.treksoft.kvision.utils.syncWithList.T)), kotlin.collections.List((pl.treksoft.kvision.utils.syncWithList.T)))/list">list</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="../../pl.treksoft.kvision.utils/kotlin.collections.-mutable-list/sync-with-list.html#T"><span class="identifier">T</span></a><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></code> -<p>Utility extension function to synchronise elements of the MutableList.</p> -</td> +<code><span class="keyword">fun </span><span class="identifier">subscribe</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$subscribe(kotlin.Function1((kotlin.collections.List((pl.treksoft.kvision.state.ObservableListWrapper.T)), kotlin.Unit)))/observer">observer</span><span class="symbol">:</span> <span class="symbol">(</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><span class="identifier">T</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><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></code></td> </tr> </tbody> </table> diff --git a/api/pl.treksoft.kvision.state/-observable-list-wrapper/is-empty.html b/api/pl.treksoft.kvision.state/-observable-list-wrapper/is-empty.html index f1be3103..ae361afd 100644 --- a/api/pl.treksoft.kvision.state/-observable-list-wrapper/is-empty.html +++ b/api/pl.treksoft.kvision.state/-observable-list-wrapper/is-empty.html @@ -8,7 +8,7 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.state</a> / <a href="index.html">ObservableListWrapper</a> / <a href="./is-empty.html">isEmpty</a><br/> <br/> <h1>isEmpty</h1> -<a name="pl.treksoft.kvision.state.ObservableListWrapper$isEmpty()"></a> +(js) <a name="pl.treksoft.kvision.state.ObservableListWrapper$isEmpty()"></a> <code><span class="keyword">fun </span><span class="identifier">isEmpty</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.state/-observable-list-wrapper/iterator.html b/api/pl.treksoft.kvision.state/-observable-list-wrapper/iterator.html index 5bcc1740..fe7f8b7f 100644 --- a/api/pl.treksoft.kvision.state/-observable-list-wrapper/iterator.html +++ b/api/pl.treksoft.kvision.state/-observable-list-wrapper/iterator.html @@ -8,7 +8,7 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.state</a> / <a href="index.html">ObservableListWrapper</a> / <a href="./iterator.html">iterator</a><br/> <br/> <h1>iterator</h1> -<a name="pl.treksoft.kvision.state.ObservableListWrapper$iterator()"></a> -<code><span class="keyword">fun </span><span class="identifier">iterator</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-iterator/index.html"><span class="identifier">MutableIterator</span></a><span class="symbol"><</span><a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">></span></code> +(js) <a name="pl.treksoft.kvision.state.ObservableListWrapper$iterator()"></a> +<code><span class="keyword">fun </span><span class="identifier">iterator</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-iterator/index.html"><span class="identifier">MutableIterator</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span></code> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.state/-observable-list-wrapper/last-index-of.html b/api/pl.treksoft.kvision.state/-observable-list-wrapper/last-index-of.html index 8ef90c4f..b1d8c37b 100644 --- a/api/pl.treksoft.kvision.state/-observable-list-wrapper/last-index-of.html +++ b/api/pl.treksoft.kvision.state/-observable-list-wrapper/last-index-of.html @@ -8,7 +8,7 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.state</a> / <a href="index.html">ObservableListWrapper</a> / <a href="./last-index-of.html">lastIndexOf</a><br/> <br/> <h1>lastIndexOf</h1> -<a name="pl.treksoft.kvision.state.ObservableListWrapper$lastIndexOf(pl.treksoft.kvision.state.ObservableListWrapper.T)"></a> -<code><span class="keyword">fun </span><span class="identifier">lastIndexOf</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$lastIndexOf(pl.treksoft.kvision.state.ObservableListWrapper.T)/element">element</span><span class="symbol">:</span> <a href="index.html#T"><span class="identifier">T</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> +(js) <a name="pl.treksoft.kvision.state.ObservableListWrapper$lastIndexOf(pl.treksoft.kvision.state.ObservableListWrapper.T)"></a> +<code><span class="keyword">fun </span><span class="identifier">lastIndexOf</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$lastIndexOf(pl.treksoft.kvision.state.ObservableListWrapper.T)/element">element</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/kotlin/-int/index.html"><span class="identifier">Int</span></a></code> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.state/-observable-list-wrapper/list-iterator.html b/api/pl.treksoft.kvision.state/-observable-list-wrapper/list-iterator.html index 7350bb11..648ad1c6 100644 --- a/api/pl.treksoft.kvision.state/-observable-list-wrapper/list-iterator.html +++ b/api/pl.treksoft.kvision.state/-observable-list-wrapper/list-iterator.html @@ -8,9 +8,9 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.state</a> / <a href="index.html">ObservableListWrapper</a> / <a href="./list-iterator.html">listIterator</a><br/> <br/> <h1>listIterator</h1> -<a name="pl.treksoft.kvision.state.ObservableListWrapper$listIterator()"></a> -<code><span class="keyword">fun </span><span class="identifier">listIterator</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list-iterator/index.html"><span class="identifier">MutableListIterator</span></a><span class="symbol"><</span><a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">></span></code><br/> +(js) <a name="pl.treksoft.kvision.state.ObservableListWrapper$listIterator()"></a> +<code><span class="keyword">fun </span><span class="identifier">listIterator</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list-iterator/index.html"><span class="identifier">MutableListIterator</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span></code><br/> <a name="pl.treksoft.kvision.state.ObservableListWrapper$listIterator(kotlin.Int)"></a> -<code><span class="keyword">fun </span><span class="identifier">listIterator</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$listIterator(kotlin.Int)/index">index</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="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list-iterator/index.html"><span class="identifier">MutableListIterator</span></a><span class="symbol"><</span><a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">></span></code> +<code><span class="keyword">fun </span><span class="identifier">listIterator</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$listIterator(kotlin.Int)/index">index</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="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list-iterator/index.html"><span class="identifier">MutableListIterator</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span></code> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.state/-observable-list-wrapper/mutable-list.html b/api/pl.treksoft.kvision.state/-observable-list-wrapper/mutable-list.html index 87a03095..b2eccb4f 100644 --- a/api/pl.treksoft.kvision.state/-observable-list-wrapper/mutable-list.html +++ b/api/pl.treksoft.kvision.state/-observable-list-wrapper/mutable-list.html @@ -8,7 +8,7 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.state</a> / <a href="index.html">ObservableListWrapper</a> / <a href="./mutable-list.html">mutableList</a><br/> <br/> <h1>mutableList</h1> -<a name="pl.treksoft.kvision.state.ObservableListWrapper$mutableList"></a> -<code><span class="keyword">val </span><span class="identifier">mutableList</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html"><span class="identifier">MutableList</span></a><span class="symbol"><</span><a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">></span></code> +(js) <a name="pl.treksoft.kvision.state.ObservableListWrapper$mutableList"></a> +<code><span class="keyword">val </span><span class="identifier">mutableList</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html"><span class="identifier">MutableList</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span></code> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.state/-observable-list-wrapper/on-update.html b/api/pl.treksoft.kvision.state/-observable-list-wrapper/on-update.html index 1cadc936..55b475c0 100644 --- a/api/pl.treksoft.kvision.state/-observable-list-wrapper/on-update.html +++ b/api/pl.treksoft.kvision.state/-observable-list-wrapper/on-update.html @@ -8,8 +8,7 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.state</a> / <a href="index.html">ObservableListWrapper</a> / <a href="./on-update.html">onUpdate</a><br/> <br/> <h1>onUpdate</h1> -<a name="pl.treksoft.kvision.state.ObservableListWrapper$onUpdate"></a> -<code><span class="keyword">val </span><span class="identifier">onUpdate</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-collection/index.html"><span class="identifier">MutableCollection</span></a><span class="symbol"><</span><span class="symbol">(</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html"><span class="identifier">MutableList</span></a><span class="symbol"><</span><a href="index.html#T"><span class="identifier">T</span></a><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></code> -<p>Overrides <a href="../-observable-list/on-update.html">ObservableList.onUpdate</a></p> +(js) <a name="pl.treksoft.kvision.state.ObservableListWrapper$onUpdate"></a> +<code><span class="keyword">val </span><span class="identifier">onUpdate</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-collection/index.html"><span class="identifier">MutableCollection</span></a><span class="symbol"><</span><span class="symbol">(</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html"><span class="identifier">MutableList</span></a><span class="symbol"><</span><span class="identifier">T</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></code> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.state/-observable-list-wrapper/remove-all.html b/api/pl.treksoft.kvision.state/-observable-list-wrapper/remove-all.html index 4d6bcee4..c3f892e0 100644 --- a/api/pl.treksoft.kvision.state/-observable-list-wrapper/remove-all.html +++ b/api/pl.treksoft.kvision.state/-observable-list-wrapper/remove-all.html @@ -8,7 +8,7 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.state</a> / <a href="index.html">ObservableListWrapper</a> / <a href="./remove-all.html">removeAll</a><br/> <br/> <h1>removeAll</h1> -<a name="pl.treksoft.kvision.state.ObservableListWrapper$removeAll(kotlin.collections.Collection((pl.treksoft.kvision.state.ObservableListWrapper.T)))"></a> -<code><span class="keyword">fun </span><span class="identifier">removeAll</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$removeAll(kotlin.collections.Collection((pl.treksoft.kvision.state.ObservableListWrapper.T)))/elements">elements</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-collection/index.html"><span class="identifier">Collection</span></a><span class="symbol"><</span><a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code> +(js) <a name="pl.treksoft.kvision.state.ObservableListWrapper$removeAll(kotlin.collections.Collection((pl.treksoft.kvision.state.ObservableListWrapper.T)))"></a> +<code><span class="keyword">fun </span><span class="identifier">removeAll</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$removeAll(kotlin.collections.Collection((pl.treksoft.kvision.state.ObservableListWrapper.T)))/elements">elements</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-collection/index.html"><span class="identifier">Collection</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.state/-observable-list-wrapper/remove-at.html b/api/pl.treksoft.kvision.state/-observable-list-wrapper/remove-at.html index 61bbfbf7..78937a9a 100644 --- a/api/pl.treksoft.kvision.state/-observable-list-wrapper/remove-at.html +++ b/api/pl.treksoft.kvision.state/-observable-list-wrapper/remove-at.html @@ -8,7 +8,7 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.state</a> / <a href="index.html">ObservableListWrapper</a> / <a href="./remove-at.html">removeAt</a><br/> <br/> <h1>removeAt</h1> -<a name="pl.treksoft.kvision.state.ObservableListWrapper$removeAt(kotlin.Int)"></a> -<code><span class="keyword">fun </span><span class="identifier">removeAt</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$removeAt(kotlin.Int)/index">index</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="index.html#T"><span class="identifier">T</span></a></code> +(js) <a name="pl.treksoft.kvision.state.ObservableListWrapper$removeAt(kotlin.Int)"></a> +<code><span class="keyword">fun </span><span class="identifier">removeAt</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$removeAt(kotlin.Int)/index">index</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><span class="identifier">T</span></code> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.state/-observable-list-wrapper/remove.html b/api/pl.treksoft.kvision.state/-observable-list-wrapper/remove.html index 5af2a391..5cf0338a 100644 --- a/api/pl.treksoft.kvision.state/-observable-list-wrapper/remove.html +++ b/api/pl.treksoft.kvision.state/-observable-list-wrapper/remove.html @@ -8,7 +8,7 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.state</a> / <a href="index.html">ObservableListWrapper</a> / <a href="./remove.html">remove</a><br/> <br/> <h1>remove</h1> -<a name="pl.treksoft.kvision.state.ObservableListWrapper$remove(pl.treksoft.kvision.state.ObservableListWrapper.T)"></a> -<code><span class="keyword">fun </span><span class="identifier">remove</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$remove(pl.treksoft.kvision.state.ObservableListWrapper.T)/element">element</span><span class="symbol">:</span> <a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code> +(js) <a name="pl.treksoft.kvision.state.ObservableListWrapper$remove(pl.treksoft.kvision.state.ObservableListWrapper.T)"></a> +<code><span class="keyword">fun </span><span class="identifier">remove</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$remove(pl.treksoft.kvision.state.ObservableListWrapper.T)/element">element</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/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.state/-observable-list-wrapper/retain-all.html b/api/pl.treksoft.kvision.state/-observable-list-wrapper/retain-all.html index b9bdbfff..fbb9cc1c 100644 --- a/api/pl.treksoft.kvision.state/-observable-list-wrapper/retain-all.html +++ b/api/pl.treksoft.kvision.state/-observable-list-wrapper/retain-all.html @@ -8,7 +8,7 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.state</a> / <a href="index.html">ObservableListWrapper</a> / <a href="./retain-all.html">retainAll</a><br/> <br/> <h1>retainAll</h1> -<a name="pl.treksoft.kvision.state.ObservableListWrapper$retainAll(kotlin.collections.Collection((pl.treksoft.kvision.state.ObservableListWrapper.T)))"></a> -<code><span class="keyword">fun </span><span class="identifier">retainAll</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$retainAll(kotlin.collections.Collection((pl.treksoft.kvision.state.ObservableListWrapper.T)))/elements">elements</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-collection/index.html"><span class="identifier">Collection</span></a><span class="symbol"><</span><a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code> +(js) <a name="pl.treksoft.kvision.state.ObservableListWrapper$retainAll(kotlin.collections.Collection((pl.treksoft.kvision.state.ObservableListWrapper.T)))"></a> +<code><span class="keyword">fun </span><span class="identifier">retainAll</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$retainAll(kotlin.collections.Collection((pl.treksoft.kvision.state.ObservableListWrapper.T)))/elements">elements</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-collection/index.html"><span class="identifier">Collection</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.state/-observable-list-wrapper/set.html b/api/pl.treksoft.kvision.state/-observable-list-wrapper/set.html index 483bc1db..cf4ddd55 100644 --- a/api/pl.treksoft.kvision.state/-observable-list-wrapper/set.html +++ b/api/pl.treksoft.kvision.state/-observable-list-wrapper/set.html @@ -8,7 +8,7 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.state</a> / <a href="index.html">ObservableListWrapper</a> / <a href="./set.html">set</a><br/> <br/> <h1>set</h1> -<a name="pl.treksoft.kvision.state.ObservableListWrapper$set(kotlin.Int, pl.treksoft.kvision.state.ObservableListWrapper.T)"></a> -<code><span class="keyword">fun </span><span class="identifier">set</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$set(kotlin.Int, pl.treksoft.kvision.state.ObservableListWrapper.T)/index">index</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="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$set(kotlin.Int, pl.treksoft.kvision.state.ObservableListWrapper.T)/element">element</span><span class="symbol">:</span> <a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="index.html#T"><span class="identifier">T</span></a></code> +(js) <a name="pl.treksoft.kvision.state.ObservableListWrapper$set(kotlin.Int, pl.treksoft.kvision.state.ObservableListWrapper.T)"></a> +<code><span class="keyword">fun </span><span class="identifier">set</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$set(kotlin.Int, pl.treksoft.kvision.state.ObservableListWrapper.T)/index">index</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="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$set(kotlin.Int, pl.treksoft.kvision.state.ObservableListWrapper.T)/element">element</span><span class="symbol">:</span> <span class="identifier">T</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">T</span></code> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.state/-observable-list-wrapper/size.html b/api/pl.treksoft.kvision.state/-observable-list-wrapper/size.html index b25ae04c..bab879e9 100644 --- a/api/pl.treksoft.kvision.state/-observable-list-wrapper/size.html +++ b/api/pl.treksoft.kvision.state/-observable-list-wrapper/size.html @@ -8,7 +8,7 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.state</a> / <a href="index.html">ObservableListWrapper</a> / <a href="./size.html">size</a><br/> <br/> <h1>size</h1> -<a name="pl.treksoft.kvision.state.ObservableListWrapper$size"></a> +(js) <a name="pl.treksoft.kvision.state.ObservableListWrapper$size"></a> <code><span class="keyword">val </span><span class="identifier">size</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> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.state/-observable-list-wrapper/sub-list.html b/api/pl.treksoft.kvision.state/-observable-list-wrapper/sub-list.html index 9bad7e24..8f6edfe9 100644 --- a/api/pl.treksoft.kvision.state/-observable-list-wrapper/sub-list.html +++ b/api/pl.treksoft.kvision.state/-observable-list-wrapper/sub-list.html @@ -8,7 +8,7 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.state</a> / <a href="index.html">ObservableListWrapper</a> / <a href="./sub-list.html">subList</a><br/> <br/> <h1>subList</h1> -<a name="pl.treksoft.kvision.state.ObservableListWrapper$subList(kotlin.Int, kotlin.Int)"></a> -<code><span class="keyword">fun </span><span class="identifier">subList</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$subList(kotlin.Int, kotlin.Int)/fromIndex">fromIndex</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="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$subList(kotlin.Int, kotlin.Int)/toIndex">toIndex</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="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html"><span class="identifier">MutableList</span></a><span class="symbol"><</span><a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">></span></code> +(js) <a name="pl.treksoft.kvision.state.ObservableListWrapper$subList(kotlin.Int, kotlin.Int)"></a> +<code><span class="keyword">fun </span><span class="identifier">subList</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$subList(kotlin.Int, kotlin.Int)/fromIndex">fromIndex</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="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$subList(kotlin.Int, kotlin.Int)/toIndex">toIndex</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="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html"><span class="identifier">MutableList</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span></code> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.state/-observable-list-wrapper/subscribe.html b/api/pl.treksoft.kvision.state/-observable-list-wrapper/subscribe.html index 7cf47c14..37ec842e 100644 --- a/api/pl.treksoft.kvision.state/-observable-list-wrapper/subscribe.html +++ b/api/pl.treksoft.kvision.state/-observable-list-wrapper/subscribe.html @@ -8,9 +8,8 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.state</a> / <a href="index.html">ObservableListWrapper</a> / <a href="./subscribe.html">subscribe</a><br/> <br/> <h1>subscribe</h1> -<a name="pl.treksoft.kvision.state.ObservableListWrapper$subscribe(kotlin.Function1((kotlin.collections.List((pl.treksoft.kvision.state.ObservableListWrapper.T)), kotlin.Unit)))"></a> -<code><span class="keyword">fun </span><span class="identifier">subscribe</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$subscribe(kotlin.Function1((kotlin.collections.List((pl.treksoft.kvision.state.ObservableListWrapper.T)), kotlin.Unit)))/observer">observer</span><span class="symbol">:</span> <span class="symbol">(</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="index.html#T"><span class="identifier">T</span></a><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><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></code> -<p>Overrides <a href="../-observable-state/subscribe.html">ObservableState.subscribe</a></p> +(js) <a name="pl.treksoft.kvision.state.ObservableListWrapper$subscribe(kotlin.Function1((kotlin.collections.List((pl.treksoft.kvision.state.ObservableListWrapper.T)), kotlin.Unit)))"></a> +<code><span class="keyword">fun </span><span class="identifier">subscribe</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableListWrapper$subscribe(kotlin.Function1((kotlin.collections.List((pl.treksoft.kvision.state.ObservableListWrapper.T)), kotlin.Unit)))/observer">observer</span><span class="symbol">:</span> <span class="symbol">(</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><span class="identifier">T</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><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></code> <p>Subscribe for the state change notifications.</p> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.state/-observable-list/index.html b/api/pl.treksoft.kvision.state/-observable-list/index.html index 88eebc20..9dc63c41 100644 --- a/api/pl.treksoft.kvision.state/-observable-list/index.html +++ b/api/pl.treksoft.kvision.state/-observable-list/index.html @@ -8,63 +8,18 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.state</a> / <a href="./index.html">ObservableList</a><br/> <br/> <h1>ObservableList</h1> -<code><span class="keyword">interface </span><span class="identifier">ObservableList</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/kotlin.collections/-mutable-list/index.html"><span class="identifier">MutableList</span></a><span class="symbol"><</span><a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">, </span><a href="../-observable-state/index.html"><span class="identifier">ObservableState</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">></span></code> +(js) <code><span class="keyword">interface </span><span class="identifier">ObservableList</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/kotlin.collections/-mutable-list/index.html"><span class="identifier">MutableList</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span><span class="symbol">, </span><a href="../-observable-state/index.html"><span class="identifier">ObservableState</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span><span class="symbol">></span></code> <p>Observable list interface.</p> <h3>Properties</h3> <table> <tbody> <tr> <td> -<p><a href="on-update.html">onUpdate</a></p> +(js) +<h4><a href="on-update.html">onUpdate</a></h4> </td> <td> -<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">onUpdate</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-collection/index.html"><span class="identifier">MutableCollection</span></a><span class="symbol"><</span><span class="symbol">(</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html"><span class="identifier">MutableList</span></a><span class="symbol"><</span><a href="index.html#T"><span class="identifier">T</span></a><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></code></td> -</tr> -</tbody> -</table> -<h3>Inherited Functions</h3> -<table> -<tbody> -<tr> -<td> -<p><a href="../-observable-state/get-state.html">getState</a></p> -</td> -<td> -<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">getState</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../-observable-state/index.html#S"><span class="identifier">S</span></a></code> -<p>Get current state.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../-observable-state/subscribe.html">subscribe</a></p> -</td> -<td> -<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">subscribe</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableState$subscribe(kotlin.Function1((pl.treksoft.kvision.state.ObservableState.S, kotlin.Unit)))/observer">observer</span><span class="symbol">:</span> <span class="symbol">(</span><a href="../-observable-state/index.html#S"><span class="identifier">S</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><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></code> -<p>Subscribe for the state change notifications.</p> -</td> -</tr> -</tbody> -</table> -<h3>Extension Functions</h3> -<table> -<tbody> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.utils/kotlin.-any/create-instance.html">createInstance</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="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">?</span><span class="symbol">.</span><span class="identifier">createInstance</span><span class="symbol">(</span><span class="keyword">vararg</span> <span class="identifier" id="pl.treksoft.kvision.utils$createInstance(kotlin.Any, kotlin.Array((kotlin.Any)))/args">args</span><span class="symbol">:</span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.utils/kotlin.-any/create-instance.html#T"><span class="identifier">T</span></a></code> -<p>Helper function for creating JavaScript objects from dynamic constructors.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.utils/kotlin.collections.-mutable-list/sync-with-list.html">syncWithList</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="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html"><span class="identifier">MutableList</span></a><span class="symbol"><</span><a href="../../pl.treksoft.kvision.utils/kotlin.collections.-mutable-list/sync-with-list.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">.</span><span class="identifier">syncWithList</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.utils$syncWithList(kotlin.collections.MutableList((pl.treksoft.kvision.utils.syncWithList.T)), kotlin.collections.List((pl.treksoft.kvision.utils.syncWithList.T)))/list">list</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="../../pl.treksoft.kvision.utils/kotlin.collections.-mutable-list/sync-with-list.html#T"><span class="identifier">T</span></a><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></code> -<p>Utility extension function to synchronise elements of the MutableList.</p> -</td> +<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">onUpdate</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-collection/index.html"><span class="identifier">MutableCollection</span></a><span class="symbol"><</span><span class="symbol">(</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html"><span class="identifier">MutableList</span></a><span class="symbol"><</span><span class="identifier">T</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></code></td> </tr> </tbody> </table> @@ -73,12 +28,12 @@ <tbody> <tr> <td> -<p><a href="../-observable-list-wrapper/index.html">ObservableListWrapper</a></p> +(js) +<h4><a href="../-observable-list-wrapper/index.html">ObservableListWrapper</a></h4> </td> <td> -<code><span class="keyword">class </span><span class="identifier">ObservableListWrapper</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/kotlin.collections/-mutable-list/index.html"><span class="identifier">MutableList</span></a><span class="symbol"><</span><a href="../-observable-list-wrapper/index.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">, </span><a href="./index.html"><span class="identifier">ObservableList</span></a><span class="symbol"><</span><a href="../-observable-list-wrapper/index.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">, </span><a href="../-observable-state/index.html"><span class="identifier">ObservableState</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="../-observable-list-wrapper/index.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">></span></code> <p>Simple observable list implementation.</p> -</td> +<code><span class="keyword">class </span><span class="identifier">ObservableListWrapper</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/kotlin.collections/-mutable-list/index.html"><span class="identifier">MutableList</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span><span class="symbol">, </span><a href="./index.html"><span class="identifier">ObservableList</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span><span class="symbol">, </span><a href="../-observable-state/index.html"><span class="identifier">ObservableState</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span><span class="symbol">></span></code></td> </tr> </tbody> </table> diff --git a/api/pl.treksoft.kvision.state/-observable-list/on-update.html b/api/pl.treksoft.kvision.state/-observable-list/on-update.html index cf3882cf..a5e758d7 100644 --- a/api/pl.treksoft.kvision.state/-observable-list/on-update.html +++ b/api/pl.treksoft.kvision.state/-observable-list/on-update.html @@ -8,7 +8,7 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.state</a> / <a href="index.html">ObservableList</a> / <a href="./on-update.html">onUpdate</a><br/> <br/> <h1>onUpdate</h1> -<a name="pl.treksoft.kvision.state.ObservableList$onUpdate"></a> -<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">onUpdate</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-collection/index.html"><span class="identifier">MutableCollection</span></a><span class="symbol"><</span><span class="symbol">(</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html"><span class="identifier">MutableList</span></a><span class="symbol"><</span><a href="index.html#T"><span class="identifier">T</span></a><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></code> +(js) <a name="pl.treksoft.kvision.state.ObservableList$onUpdate"></a> +<code><span class="keyword">abstract</span> <span class="keyword">val </span><span class="identifier">onUpdate</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-collection/index.html"><span class="identifier">MutableCollection</span></a><span class="symbol"><</span><span class="symbol">(</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html"><span class="identifier">MutableList</span></a><span class="symbol"><</span><span class="identifier">T</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></code> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.state/-observable-state/get-state.html b/api/pl.treksoft.kvision.state/-observable-state/get-state.html index 7231e578..15b9cd27 100644 --- a/api/pl.treksoft.kvision.state/-observable-state/get-state.html +++ b/api/pl.treksoft.kvision.state/-observable-state/get-state.html @@ -8,8 +8,8 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.state</a> / <a href="index.html">ObservableState</a> / <a href="./get-state.html">getState</a><br/> <br/> <h1>getState</h1> -<a name="pl.treksoft.kvision.state.ObservableState$getState()"></a> -<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">getState</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="index.html#S"><span class="identifier">S</span></a></code> +(js) <a name="pl.treksoft.kvision.state.ObservableState$getState()"></a> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">getState</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">S</span></code> <p>Get current state.</p> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.state/-observable-state/index.html b/api/pl.treksoft.kvision.state/-observable-state/index.html index af76eaa3..e4d62215 100644 --- a/api/pl.treksoft.kvision.state/-observable-state/index.html +++ b/api/pl.treksoft.kvision.state/-observable-state/index.html @@ -8,42 +8,28 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.state</a> / <a href="./index.html">ObservableState</a><br/> <br/> <h1>ObservableState</h1> -<code><span class="keyword">interface </span><span class="identifier">ObservableState</span><span class="symbol"><</span><span class="identifier">S</span><span class="symbol">></span></code> +(js) <code><span class="keyword">interface </span><span class="identifier">ObservableState</span><span class="symbol"><</span><span class="identifier">S</span><span class="symbol">></span></code> <p>An interface of observable state.</p> <h3>Functions</h3> <table> <tbody> <tr> <td> -<p><a href="get-state.html">getState</a></p> +(js) +<h4><a href="get-state.html">getState</a></h4> </td> <td> -<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">getState</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="index.html#S"><span class="identifier">S</span></a></code> <p>Get current state.</p> -</td> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">getState</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">S</span></code></td> </tr> <tr> <td> -<p><a href="subscribe.html">subscribe</a></p> +(js) +<h4><a href="subscribe.html">subscribe</a></h4> </td> <td> -<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">subscribe</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableState$subscribe(kotlin.Function1((pl.treksoft.kvision.state.ObservableState.S, kotlin.Unit)))/observer">observer</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html#S"><span class="identifier">S</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><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></code> <p>Subscribe for the state change notifications.</p> -</td> -</tr> -</tbody> -</table> -<h3>Extension Functions</h3> -<table> -<tbody> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.utils/kotlin.-any/create-instance.html">createInstance</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="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">?</span><span class="symbol">.</span><span class="identifier">createInstance</span><span class="symbol">(</span><span class="keyword">vararg</span> <span class="identifier" id="pl.treksoft.kvision.utils$createInstance(kotlin.Any, kotlin.Array((kotlin.Any)))/args">args</span><span class="symbol">:</span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.utils/kotlin.-any/create-instance.html#T"><span class="identifier">T</span></a></code> -<p>Helper function for creating JavaScript objects from dynamic constructors.</p> -</td> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">subscribe</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableState$subscribe(kotlin.Function1((pl.treksoft.kvision.state.ObservableState.S, kotlin.Unit)))/observer">observer</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">S</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><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></code></td> </tr> </tbody> </table> @@ -52,30 +38,30 @@ <tbody> <tr> <td> -<p><a href="../-observable-list/index.html">ObservableList</a></p> +(js) +<h4><a href="../-observable-list/index.html">ObservableList</a></h4> </td> <td> -<code><span class="keyword">interface </span><span class="identifier">ObservableList</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/kotlin.collections/-mutable-list/index.html"><span class="identifier">MutableList</span></a><span class="symbol"><</span><a href="../-observable-list/index.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">, </span><a href="./index.html"><span class="identifier">ObservableState</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="../-observable-list/index.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">></span></code> <p>Observable list interface.</p> -</td> +<code><span class="keyword">interface </span><span class="identifier">ObservableList</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/kotlin.collections/-mutable-list/index.html"><span class="identifier">MutableList</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span><span class="symbol">, </span><a href="./index.html"><span class="identifier">ObservableState</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span><span class="symbol">></span></code></td> </tr> <tr> <td> -<p><a href="../-observable-list-wrapper/index.html">ObservableListWrapper</a></p> +(js) +<h4><a href="../-observable-list-wrapper/index.html">ObservableListWrapper</a></h4> </td> <td> -<code><span class="keyword">class </span><span class="identifier">ObservableListWrapper</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/kotlin.collections/-mutable-list/index.html"><span class="identifier">MutableList</span></a><span class="symbol"><</span><a href="../-observable-list-wrapper/index.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">, </span><a href="../-observable-list/index.html"><span class="identifier">ObservableList</span></a><span class="symbol"><</span><a href="../-observable-list-wrapper/index.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">, </span><a href="./index.html"><span class="identifier">ObservableState</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="../-observable-list-wrapper/index.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">></span></code> <p>Simple observable list implementation.</p> -</td> +<code><span class="keyword">class </span><span class="identifier">ObservableListWrapper</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/kotlin.collections/-mutable-list/index.html"><span class="identifier">MutableList</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span><span class="symbol">, </span><a href="../-observable-list/index.html"><span class="identifier">ObservableList</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span><span class="symbol">, </span><a href="./index.html"><span class="identifier">ObservableState</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span><span class="symbol">></span></code></td> </tr> <tr> <td> -<p><a href="../../pl.treksoft.kvision.redux/-redux-store/index.html">ReduxStore</a></p> +(js) +<h4><a href="../../pl.treksoft.kvision.redux/-redux-store/index.html">ReduxStore</a></h4> </td> <td> -<code><span class="keyword">class </span><span class="identifier">ReduxStore</span><span class="symbol"><</span><span class="identifier">S</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">, </span><span class="identifier">A</span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.redux/-r-action.html"><span class="identifier">RAction</span></a><span class="symbol">></span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">ObservableState</span></a><span class="symbol"><</span><a href="../../pl.treksoft.kvision.redux/-redux-store/index.html#S"><span class="identifier">S</span></a><span class="symbol">></span></code> <p>A class implementing redux pattern backed by the Redux Kotlin library.</p> -</td> +<code><span class="keyword">class </span><span class="identifier">ReduxStore</span><span class="symbol"><</span><span class="identifier">S</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">, </span><span class="identifier">A</span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.redux/-r-action.html"><span class="identifier">RAction</span></a><span class="symbol">></span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">ObservableState</span></a><span class="symbol"><</span><span class="identifier">S</span><span class="symbol">></span></code></td> </tr> </tbody> </table> diff --git a/api/pl.treksoft.kvision.state/-observable-state/subscribe.html b/api/pl.treksoft.kvision.state/-observable-state/subscribe.html index 66514b8f..5df4c741 100644 --- a/api/pl.treksoft.kvision.state/-observable-state/subscribe.html +++ b/api/pl.treksoft.kvision.state/-observable-state/subscribe.html @@ -8,8 +8,8 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.state</a> / <a href="index.html">ObservableState</a> / <a href="./subscribe.html">subscribe</a><br/> <br/> <h1>subscribe</h1> -<a name="pl.treksoft.kvision.state.ObservableState$subscribe(kotlin.Function1((pl.treksoft.kvision.state.ObservableState.S, kotlin.Unit)))"></a> -<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">subscribe</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableState$subscribe(kotlin.Function1((pl.treksoft.kvision.state.ObservableState.S, kotlin.Unit)))/observer">observer</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html#S"><span class="identifier">S</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><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></code> +(js) <a name="pl.treksoft.kvision.state.ObservableState$subscribe(kotlin.Function1((pl.treksoft.kvision.state.ObservableState.S, kotlin.Unit)))"></a> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">subscribe</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableState$subscribe(kotlin.Function1((pl.treksoft.kvision.state.ObservableState.S, kotlin.Unit)))/observer">observer</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">S</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><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></code> <p>Subscribe for the state change notifications.</p> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.state/-state-binding/-init-.html b/api/pl.treksoft.kvision.state/-state-binding/-init-.html index d59678d4..4fb0374a 100644 --- a/api/pl.treksoft.kvision.state/-state-binding/-init-.html +++ b/api/pl.treksoft.kvision.state/-state-binding/-init-.html @@ -8,8 +8,8 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.state</a> / <a href="index.html">StateBinding</a> / <a href="./-init-.html"><init></a><br/> <br/> <h1><init></h1> -<a name="pl.treksoft.kvision.state.StateBinding$<init>(pl.treksoft.kvision.state.ObservableState((pl.treksoft.kvision.state.StateBinding.S)), pl.treksoft.kvision.state.StateBinding.CONT, kotlin.Function2((pl.treksoft.kvision.state.StateBinding.CONT, pl.treksoft.kvision.state.StateBinding.S, pl.treksoft.kvision.state.StateBinding.CONTENT)))"></a> -<code><span class="identifier">StateBinding</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.StateBinding$<init>(pl.treksoft.kvision.state.ObservableState((pl.treksoft.kvision.state.StateBinding.S)), pl.treksoft.kvision.state.StateBinding.CONT, kotlin.Function2((pl.treksoft.kvision.state.StateBinding.CONT, pl.treksoft.kvision.state.StateBinding.S, pl.treksoft.kvision.state.StateBinding.CONTENT)))/observableState">observableState</span><span class="symbol">:</span> <a href="../-observable-state/index.html"><span class="identifier">ObservableState</span></a><span class="symbol"><</span><a href="index.html#S"><span class="identifier">S</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.state.StateBinding$<init>(pl.treksoft.kvision.state.ObservableState((pl.treksoft.kvision.state.StateBinding.S)), pl.treksoft.kvision.state.StateBinding.CONT, kotlin.Function2((pl.treksoft.kvision.state.StateBinding.CONT, pl.treksoft.kvision.state.StateBinding.S, pl.treksoft.kvision.state.StateBinding.CONTENT)))/container">container</span><span class="symbol">:</span> <a href="index.html#CONT"><span class="identifier">CONT</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.state.StateBinding$<init>(pl.treksoft.kvision.state.ObservableState((pl.treksoft.kvision.state.StateBinding.S)), pl.treksoft.kvision.state.StateBinding.CONT, kotlin.Function2((pl.treksoft.kvision.state.StateBinding.CONT, pl.treksoft.kvision.state.StateBinding.S, pl.treksoft.kvision.state.StateBinding.CONTENT)))/factory">factory</span><span class="symbol">:</span> <a href="index.html#CONT"><span class="identifier">CONT</span></a><span class="symbol">.</span><span class="symbol">(</span><a href="index.html#S"><span class="identifier">S</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="index.html#CONTENT"><span class="identifier">CONTENT</span></a><span class="symbol">)</span></code> +(js) <a name="pl.treksoft.kvision.state.StateBinding$<init>(pl.treksoft.kvision.state.ObservableState((pl.treksoft.kvision.state.StateBinding.S)), pl.treksoft.kvision.state.StateBinding.CONT, kotlin.Function2((pl.treksoft.kvision.state.StateBinding.CONT, pl.treksoft.kvision.state.StateBinding.S, pl.treksoft.kvision.state.StateBinding.CONTENT)))"></a> +<code><span class="identifier">StateBinding</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.StateBinding$<init>(pl.treksoft.kvision.state.ObservableState((pl.treksoft.kvision.state.StateBinding.S)), pl.treksoft.kvision.state.StateBinding.CONT, kotlin.Function2((pl.treksoft.kvision.state.StateBinding.CONT, pl.treksoft.kvision.state.StateBinding.S, pl.treksoft.kvision.state.StateBinding.CONTENT)))/observableState">observableState</span><span class="symbol">:</span> <a href="../-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" id="pl.treksoft.kvision.state.StateBinding$<init>(pl.treksoft.kvision.state.ObservableState((pl.treksoft.kvision.state.StateBinding.S)), pl.treksoft.kvision.state.StateBinding.CONT, kotlin.Function2((pl.treksoft.kvision.state.StateBinding.CONT, pl.treksoft.kvision.state.StateBinding.S, pl.treksoft.kvision.state.StateBinding.CONTENT)))/container">container</span><span class="symbol">:</span> <span class="identifier">CONT</span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.state.StateBinding$<init>(pl.treksoft.kvision.state.ObservableState((pl.treksoft.kvision.state.StateBinding.S)), pl.treksoft.kvision.state.StateBinding.CONT, kotlin.Function2((pl.treksoft.kvision.state.StateBinding.CONT, pl.treksoft.kvision.state.StateBinding.S, pl.treksoft.kvision.state.StateBinding.CONTENT)))/factory">factory</span><span class="symbol">:</span> <span class="identifier">CONT</span><span class="symbol">.</span><span class="symbol">(</span><span class="identifier">S</span><span class="symbol">)</span> <span class="symbol">-></span> <span class="identifier">CONTENT</span><span class="symbol">)</span></code> <p>Creates StateBinding which binds the given container to the observable state.</p> <h3>Parameters</h3> <p><a name="S"></a> diff --git a/api/pl.treksoft.kvision.state/-state-binding/index.html b/api/pl.treksoft.kvision.state/-state-binding/index.html index 242c56ad..b4932332 100644 --- a/api/pl.treksoft.kvision.state/-state-binding/index.html +++ b/api/pl.treksoft.kvision.state/-state-binding/index.html @@ -8,129 +8,19 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.state</a> / <a href="./index.html">StateBinding</a><br/> <br/> <h1>StateBinding</h1> -<code><span class="keyword">class </span><span class="identifier">StateBinding</span><span class="symbol"><</span><span class="identifier">S</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">, </span><span class="identifier">CONT</span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">, </span><span class="identifier">CONTENT</span><span class="symbol">></span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +(js) <code><span class="keyword">class </span><span class="identifier">StateBinding</span><span class="symbol"><</span><span class="identifier">S</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">, </span><span class="identifier">CONT</span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">, </span><span class="identifier">CONTENT</span><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>A class which binds the given container to the observable state.</p> <h3>Constructors</h3> <table> <tbody> <tr> <td> -<p><a href="-init-.html"><init></a></p> +(js) +<h4><a href="-init-.html"><init></a></h4> </td> <td> -<code><span class="identifier">StateBinding</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.StateBinding$<init>(pl.treksoft.kvision.state.ObservableState((pl.treksoft.kvision.state.StateBinding.S)), pl.treksoft.kvision.state.StateBinding.CONT, kotlin.Function2((pl.treksoft.kvision.state.StateBinding.CONT, pl.treksoft.kvision.state.StateBinding.S, pl.treksoft.kvision.state.StateBinding.CONTENT)))/observableState">observableState</span><span class="symbol">:</span> <a href="../-observable-state/index.html"><span class="identifier">ObservableState</span></a><span class="symbol"><</span><a href="index.html#S"><span class="identifier">S</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.state.StateBinding$<init>(pl.treksoft.kvision.state.ObservableState((pl.treksoft.kvision.state.StateBinding.S)), pl.treksoft.kvision.state.StateBinding.CONT, kotlin.Function2((pl.treksoft.kvision.state.StateBinding.CONT, pl.treksoft.kvision.state.StateBinding.S, pl.treksoft.kvision.state.StateBinding.CONTENT)))/container">container</span><span class="symbol">:</span> <a href="index.html#CONT"><span class="identifier">CONT</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.state.StateBinding$<init>(pl.treksoft.kvision.state.ObservableState((pl.treksoft.kvision.state.StateBinding.S)), pl.treksoft.kvision.state.StateBinding.CONT, kotlin.Function2((pl.treksoft.kvision.state.StateBinding.CONT, pl.treksoft.kvision.state.StateBinding.S, pl.treksoft.kvision.state.StateBinding.CONTENT)))/factory">factory</span><span class="symbol">:</span> <a href="index.html#CONT"><span class="identifier">CONT</span></a><span class="symbol">.</span><span class="symbol">(</span><a href="index.html#S"><span class="identifier">S</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="index.html#CONTENT"><span class="identifier">CONTENT</span></a><span class="symbol">)</span></code> <p>Creates StateBinding which binds the given container to the observable state.</p> -</td> -</tr> -</tbody> -</table> -<h3>Inherited Properties</h3> -<table> -<tbody> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/draggable.html">draggable</a></p> -</td> -<td> -<code><span class="keyword">var </span><span class="identifier">draggable</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></code> -<p>Determines if the current widget is draggable.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/event-target.html">eventTarget</a></p> -</td> -<td> -<code><span class="keyword">var </span><span class="identifier">eventTarget</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">?</span></code></td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/id.html">id</a></p> -</td> -<td> -<code><span class="keyword">var </span><span class="identifier">id</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></code> -<p>An ID attribute of generated HTML element.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/last-language.html">lastLanguage</a></p> -</td> -<td> -<code><span class="keyword">var </span><span class="identifier">lastLanguage</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></code></td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/parent.html">parent</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">parent</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">?</span></code> -<p>Parent of the current component.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/popover-options.html">popoverOptions</a></p> -</td> -<td> -<code><span class="keyword">var </span><span class="identifier">popoverOptions</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-popover-options/index.html"><span class="identifier">PopoverOptions</span></a><span class="symbol">?</span></code></td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/role.html">role</a></p> -</td> -<td> -<code><span class="keyword">var </span><span class="identifier">role</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></code> -<p>A role attribute of generated HTML element.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/surrounding-span.html">surroundingSpan</a></p> -</td> -<td> -<code><span class="keyword">var </span><span class="identifier">surroundingSpan</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code></td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/tabindex.html">tabindex</a></p> -</td> -<td> -<code><span class="keyword">var </span><span class="identifier">tabindex</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></code> -<p>A tabindex attribute of generated HTML element.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/title.html">title</a></p> -</td> -<td> -<code><span class="keyword">var </span><span class="identifier">title</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></code> -<p>A title attribute of generated HTML element.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/tooltip-options.html">tooltipOptions</a></p> -</td> -<td> -<code><span class="keyword">var </span><span class="identifier">tooltipOptions</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-tooltip-options/index.html"><span class="identifier">TooltipOptions</span></a><span class="symbol">?</span></code></td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/visible.html">visible</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">visible</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code> -<p>Visibility state of the current component.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/vnode.html">vnode</a></p> -</td> -<td> -<code><span class="keyword">var </span><span class="identifier">vnode</span><span class="symbol">: </span><span class="identifier">VNode</span><span class="symbol">?</span></code></td> +<code><span class="identifier">StateBinding</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.StateBinding$<init>(pl.treksoft.kvision.state.ObservableState((pl.treksoft.kvision.state.StateBinding.S)), pl.treksoft.kvision.state.StateBinding.CONT, kotlin.Function2((pl.treksoft.kvision.state.StateBinding.CONT, pl.treksoft.kvision.state.StateBinding.S, pl.treksoft.kvision.state.StateBinding.CONTENT)))/observableState">observableState</span><span class="symbol">:</span> <a href="../-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" id="pl.treksoft.kvision.state.StateBinding$<init>(pl.treksoft.kvision.state.ObservableState((pl.treksoft.kvision.state.StateBinding.S)), pl.treksoft.kvision.state.StateBinding.CONT, kotlin.Function2((pl.treksoft.kvision.state.StateBinding.CONT, pl.treksoft.kvision.state.StateBinding.S, pl.treksoft.kvision.state.StateBinding.CONTENT)))/container">container</span><span class="symbol">:</span> <span class="identifier">CONT</span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.state.StateBinding$<init>(pl.treksoft.kvision.state.ObservableState((pl.treksoft.kvision.state.StateBinding.S)), pl.treksoft.kvision.state.StateBinding.CONT, kotlin.Function2((pl.treksoft.kvision.state.StateBinding.CONT, pl.treksoft.kvision.state.StateBinding.S, pl.treksoft.kvision.state.StateBinding.CONTENT)))/factory">factory</span><span class="symbol">:</span> <span class="identifier">CONT</span><span class="symbol">.</span><span class="symbol">(</span><span class="identifier">S</span><span class="symbol">)</span> <span class="symbol">-></span> <span class="identifier">CONTENT</span><span class="symbol">)</span></code></td> </tr> </tbody> </table> @@ -139,409 +29,12 @@ <tbody> <tr> <td> -<p><a href="update.html">update</a></p> +(js) +<h4><a href="update.html">update</a></h4> </td> <td> -<code><span class="keyword">fun </span><span class="identifier">update</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.StateBinding$update(pl.treksoft.kvision.state.StateBinding.S)/state">state</span><span class="symbol">:</span> <a href="index.html#S"><span class="identifier">S</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></code> <p>Updates view based on the current state.</p> -</td> -</tr> -</tbody> -</table> -<h3>Inherited Functions</h3> -<table> -<tbody> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/add-css-class.html">addCssClass</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">addCssClass</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$addCssClass(kotlin.String)/css">css</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><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> -<p>Adds given value to the set of CSS classes generated in html code of current component.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/add-css-style.html">addCssStyle</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">addCssStyle</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$addCssStyle(pl.treksoft.kvision.core.Style)/css">css</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-style/index.html"><span class="identifier">Style</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>Adds given style object to the set of CSS classes generated in html code of current component.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/add-surrounding-css-class.html">addSurroundingCssClass</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">addSurroundingCssClass</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$addSurroundingCssClass(kotlin.String)/css">css</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><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> -<p>Adds given value to the set of CSS classes generated in html code of parent component.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/add-surrounding-css-style.html">addSurroundingCssStyle</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">addSurroundingCssStyle</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$addSurroundingCssStyle(pl.treksoft.kvision.core.Style)/css">css</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-style/index.html"><span class="identifier">Style</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>Adds given style object to the set of CSS classes generated in html code of parent component.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/after-create.html">afterCreate</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">afterCreate</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$afterCreate(com.github.snabbdom.VNode)/node">node</span><span class="symbol">:</span> <span class="identifier">VNode</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></code> -<p>Method called after creating Snabbdom vnode.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/after-destroy.html">afterDestroy</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">afterDestroy</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></code> -<p>Method called after destroying Snabbdom vnode.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/after-insert.html">afterInsert</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">afterInsert</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$afterInsert(com.github.snabbdom.VNode)/node">node</span><span class="symbol">:</span> <span class="identifier">VNode</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></code> -<p>Method called after inserting Snabbdom vnode into the DOM.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/clear-drag-drop-data.html">clearDragDropData</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">clearDragDropData</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></code> -<p>Clears D&D data for the current widget. It also makes it not draggable.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/disable-popover.html">disablePopover</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">disablePopover</span><span class="symbol">(</span><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>Disables popover for the current widget.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/disable-tooltip.html">disableTooltip</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">disableTooltip</span><span class="symbol">(</span><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>Disables tooltip for the current widget.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/dispatch-event.html">dispatchEvent</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">dispatchEvent</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$dispatchEvent(kotlin.String, org.w3c.dom.CustomEventInit)/type">type</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="identifier" id="pl.treksoft.kvision.core.Widget$dispatchEvent(kotlin.String, org.w3c.dom.CustomEventInit)/eventInitDict">eventInitDict</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/org.w3c.dom/-custom-event-init/index.html"><span class="identifier">CustomEventInit</span></a><span class="symbol">)</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></code></td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/enable-popover.html">enablePopover</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">enablePopover</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$enablePopover(pl.treksoft.kvision.core.PopoverOptions)/options">options</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-popover-options/index.html"><span class="identifier">PopoverOptions</span></a> <span class="symbol">=</span> PopoverOptions()<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>Enables popover for the current widget.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/enable-tooltip.html">enableTooltip</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">enableTooltip</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$enableTooltip(pl.treksoft.kvision.core.TooltipOptions)/options">options</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-tooltip-options/index.html"><span class="identifier">TooltipOptions</span></a> <span class="symbol">=</span> TooltipOptions()<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>Enables tooltip for the current widget.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/get-attribute.html">getAttribute</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getAttribute</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$getAttribute(kotlin.String)/name">name</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><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code> -<p>Returns the value of an additional attribute.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/get-element.html">getElement</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getElement</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/org.w3c.dom/-node/index.html"><span class="identifier">Node</span></a><span class="symbol">?</span></code> -<p>Returns DOM element bound to the current component.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/get-element-j-query.html">getElementJQuery</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getElementJQuery</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">JQuery</span><span class="symbol">?</span></code> -<p>Returns JQuery element bound to the current component.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/get-element-j-query-d.html">getElementJQueryD</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getElementJQueryD</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="keyword">dynamic</span></code> -<p>Returns JQuery element bound to the current component as a <em>dynamic</em> type.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/get-sn-attrs.html">getSnAttrs</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getSnAttrs</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="../../pl.treksoft.kvision.core/-string-pair.html"><span class="identifier">StringPair</span></a><span class="symbol">></span></code> -<p>Returns list of element attributes in the form of a List.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/get-sn-class.html">getSnClass</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getSnClass</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="../../pl.treksoft.kvision.core/-string-bool-pair.html"><span class="identifier">StringBoolPair</span></a><span class="symbol">></span></code> -<p>Returns list of CSS class names for current widget in the form of a List.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/get-sn-hooks.html">getSnHooks</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getSnHooks</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Hooks</span><span class="symbol">?</span></code> -<p>Returns list of hooks in the form of a Snabbdom <em>Hooks</em> object.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/get-sn-on.html">getSnOn</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getSnOn</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">On</span><span class="symbol">?</span></code> -<p>Returns list of event handlers in the form of a Snabbdom <em>On</em> object.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/hide.html">hide</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">hide</span><span class="symbol">(</span><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>Makes current widget invisible.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/hide-popover.html">hidePopover</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">hidePopover</span><span class="symbol">(</span><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>Hides popover for the current widget.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/hide-tooltip.html">hideTooltip</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">hideTooltip</span><span class="symbol">(</span><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>Hides tooltip for the current widget.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/refresh-on-update.html">refreshOnUpdate</a></p> -</td> -<td> -<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span> <span class="identifier">refreshOnUpdate</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$refreshOnUpdate(kotlin.Function1((pl.treksoft.kvision.core.Widget.refreshOnUpdate.T, kotlin.Unit)))/refreshFunction">refreshFunction</span><span class="symbol">:</span> <span class="symbol">(</span><a href="../../pl.treksoft.kvision.core/-widget/refresh-on-update.html#T"><span class="identifier">T</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> { this.refresh() }<span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-widget/-refresh-delegate-provider/index.html"><span class="identifier">Widget.RefreshDelegateProvider</span></a><span class="symbol"><</span><a href="../../pl.treksoft.kvision.core/-widget/refresh-on-update.html#T"><span class="identifier">T</span></a><span class="symbol">></span></code><br/> -<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span> <span class="identifier">refreshOnUpdate</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$refreshOnUpdate(pl.treksoft.kvision.core.Widget.refreshOnUpdate.T, kotlin.Function1((pl.treksoft.kvision.core.Widget.refreshOnUpdate.T, kotlin.Unit)))/initialValue">initialValue</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-widget/refresh-on-update.html#T"><span class="identifier">T</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.core.Widget$refreshOnUpdate(pl.treksoft.kvision.core.Widget.refreshOnUpdate.T, kotlin.Function1((pl.treksoft.kvision.core.Widget.refreshOnUpdate.T, kotlin.Unit)))/refreshFunction">refreshFunction</span><span class="symbol">:</span> <span class="symbol">(</span><a href="../../pl.treksoft.kvision.core/-widget/refresh-on-update.html#T"><span class="identifier">T</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> { this.refresh() }<span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-widget/-refresh-delegate-provider/index.html"><span class="identifier">Widget.RefreshDelegateProvider</span></a><span class="symbol"><</span><a href="../../pl.treksoft.kvision.core/-widget/refresh-on-update.html#T"><span class="identifier">T</span></a><span class="symbol">></span></code></td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/remove-attribute.html">removeAttribute</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeAttribute</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$removeAttribute(kotlin.String)/name">name</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><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> -<p>Removes the value of additional attribute.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/remove-css-class.html">removeCssClass</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeCssClass</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$removeCssClass(kotlin.String)/css">css</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><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> -<p>Removes given value from the set of CSS classes generated in html code of current component.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/remove-css-style.html">removeCssStyle</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeCssStyle</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$removeCssStyle(pl.treksoft.kvision.core.Style)/css">css</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-style/index.html"><span class="identifier">Style</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 given style object from the set of CSS classes generated in html code of current component.</p> -</td> -</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> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeEventListeners</span><span class="symbol">(</span><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 all event listeners from current widget.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/remove-surrounding-css-class.html">removeSurroundingCssClass</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeSurroundingCssClass</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$removeSurroundingCssClass(kotlin.String)/css">css</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><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> -<p>Removes given value from the set of CSS classes generated in html code of parent component.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/remove-surrounding-css-style.html">removeSurroundingCssStyle</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeSurroundingCssStyle</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$removeSurroundingCssStyle(pl.treksoft.kvision.core.Style)/css">css</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-style/index.html"><span class="identifier">Style</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 given style object from the set of CSS classes generated in html code of parent component.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/render.html">render</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">render</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">VNode</span></code><br/> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">render</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$render(kotlin.String)/elementName">elementName</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">VNode</span></code><br/> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">render</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$render(kotlin.String, kotlin.Array((kotlin.Any)))/elementName">elementName</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="identifier" id="pl.treksoft.kvision.core.Widget$render(kotlin.String, kotlin.Array((kotlin.Any)))/children">children</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html"><span class="identifier">Array</span></a><span class="symbol"><</span><span class="keyword">dynamic</span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">VNode</span></code> -<p>Renders current component as a Snabbdom vnode.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/set-attribute.html">setAttribute</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">setAttribute</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$setAttribute(kotlin.String, kotlin.String)/name">name</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="identifier" id="pl.treksoft.kvision.core.Widget$setAttribute(kotlin.String, kotlin.String)/value">value</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><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> -<p>Sets the value of additional attribute.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/set-drag-drop-data.html">setDragDropData</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">setDragDropData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$setDragDropData(kotlin.String, kotlin.String)/format">format</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="identifier" id="pl.treksoft.kvision.core.Widget$setDragDropData(kotlin.String, kotlin.String)/data">data</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><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> -<p>Sets D&D data for the current widget. It also makes it draggable.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/set-drop-target.html">setDropTarget</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">setDropTarget</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$setDropTarget(kotlin.String, kotlin.Function1((org.w3c.dom.DragEvent, kotlin.Unit)))/format">format</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="identifier" id="pl.treksoft.kvision.core.Widget$setDropTarget(kotlin.String, kotlin.Function1((org.w3c.dom.DragEvent, kotlin.Unit)))/callback">callback</span><span class="symbol">:</span> <span class="symbol">(</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/org.w3c.dom/-drag-event/index.html"><span class="identifier">DragEvent</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/-unit/index.html"><span class="identifier">Unit</span></a></code><br/> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">setDropTarget</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$setDropTarget(kotlin.collections.Set((kotlin.String)), kotlin.Function1((org.w3c.dom.DragEvent, kotlin.Unit)))/formats">formats</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$setDropTarget(kotlin.collections.Set((kotlin.String)), kotlin.Function1((org.w3c.dom.DragEvent, kotlin.Unit)))/callback">callback</span><span class="symbol">:</span> <span class="symbol">(</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/org.w3c.dom/-drag-event/index.html"><span class="identifier">DragEvent</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/-unit/index.html"><span class="identifier">Unit</span></a></code> -<p>Sets the current widget as a D&D drop target.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/set-drop-target-data.html">setDropTargetData</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">setDropTargetData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$setDropTargetData(kotlin.String, kotlin.Function1((kotlin.String, kotlin.Unit)))/format">format</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="identifier" id="pl.treksoft.kvision.core.Widget$setDropTargetData(kotlin.String, kotlin.Function1((kotlin.String, kotlin.Unit)))/callback">callback</span><span class="symbol">:</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="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/-unit/index.html"><span class="identifier">Unit</span></a></code> -<p>Sets the current widget as a D&D drop target with helper callback accepting String data.</p> -</td> -</tr> -<tr> -<td> -<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="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> -</td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/show.html">show</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">show</span><span class="symbol">(</span><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>Makes current widget visible.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/show-popover.html">showPopover</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">showPopover</span><span class="symbol">(</span><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>Shows popover for the current widget.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/show-tooltip.html">showTooltip</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">showTooltip</span><span class="symbol">(</span><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>Shows tooltip for the current widget.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/single-render.html">singleRender</a></p> -</td> -<td> -<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span> <span class="identifier">singleRender</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$singleRender(kotlin.Function0((pl.treksoft.kvision.core.Widget.singleRender.T)))/block">block</span><span class="symbol">:</span> <span class="symbol">(</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="../../pl.treksoft.kvision.core/-widget/single-render.html#T"><span class="identifier">T</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-widget/single-render.html#T"><span class="identifier">T</span></a></code></td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/toggle-visible.html">toggleVisible</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">toggleVisible</span><span class="symbol">(</span><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>Toggles visibility of current widget.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.core/-widget/translate.html">translate</a></p> -</td> -<td> -<code><span class="keyword">fun </span><span class="identifier">translate</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$translate(kotlin.String)/text">text</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="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></code></td> +<code><span class="keyword">fun </span><span class="identifier">update</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.StateBinding$update(pl.treksoft.kvision.state.StateBinding.S)/state">state</span><span class="symbol">:</span> <span class="identifier">S</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></code></td> </tr> </tbody> </table> @@ -550,24 +43,27 @@ <tbody> <tr> <td> -<p><a href="../../pl.treksoft.kvision.event/change-flow.html">changeFlow</a></p> +(js) +<h4><a href="../../pl.treksoft.kvision.event/change-flow.html">changeFlow</a></h4> </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> +<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> <td> -<p><a href="../../pl.treksoft.kvision.event/click-flow.html">clickFlow</a></p> +(js) +<h4><a href="../../pl.treksoft.kvision.event/click-flow.html">clickFlow</a></h4> </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> +<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> <td> -<p><a href="../../pl.treksoft.kvision.event/input-flow.html">inputFlow</a></p> +(js) +<h4><a href="../../pl.treksoft.kvision.event/input-flow.html">inputFlow</a></h4> </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> +<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> </tbody> </table> @@ -576,123 +72,126 @@ <tbody> <tr> <td> -<p><a href="../../pl.treksoft.kvision.core/add-bs-bg-color.html">addBsBgColor</a></p> +(js) +<h4><a href="../../pl.treksoft.kvision.core/add-bs-bg-color.html">addBsBgColor</a></h4> </td> <td> <code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">.</span><span class="identifier">addBsBgColor</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core$addBsBgColor(pl.treksoft.kvision.core.Component, pl.treksoft.kvision.core.BsBgColor)/bsBgColor">bsBgColor</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><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code></td> </tr> <tr> <td> -<p><a href="../../pl.treksoft.kvision.core/add-bs-border.html">addBsBorder</a></p> +(js) +<h4><a href="../../pl.treksoft.kvision.core/add-bs-border.html">addBsBorder</a></h4> </td> <td> <code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">.</span><span class="identifier">addBsBorder</span><span class="symbol">(</span><span class="keyword">vararg</span> <span class="identifier" id="pl.treksoft.kvision.core$addBsBorder(pl.treksoft.kvision.core.Component, kotlin.Array((pl.treksoft.kvision.core.BsBorder)))/bsBorder">bsBorder</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-bs-border/index.html"><span class="identifier">BsBorder</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></code></td> </tr> <tr> <td> -<p><a href="../../pl.treksoft.kvision.core/add-bs-clearfix.html">addBsClearfix</a></p> +(js) +<h4><a href="../../pl.treksoft.kvision.core/add-bs-clearfix.html">addBsClearfix</a></h4> </td> <td> <code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">.</span><span class="identifier">addBsClearfix</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></code></td> </tr> <tr> <td> -<p><a href="../../pl.treksoft.kvision.core/add-bs-color.html">addBsColor</a></p> +(js) +<h4><a href="../../pl.treksoft.kvision.core/add-bs-color.html">addBsColor</a></h4> </td> <td> <code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">.</span><span class="identifier">addBsColor</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core$addBsColor(pl.treksoft.kvision.core.Component, pl.treksoft.kvision.core.BsColor)/bsColor">bsColor</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-bs-color/index.html"><span class="identifier">BsColor</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></code></td> </tr> <tr> <td> -<p><a href="../../pl.treksoft.kvision.core/add-bs-rounded.html">addBsRounded</a></p> +(js) +<h4><a href="../../pl.treksoft.kvision.core/add-bs-rounded.html">addBsRounded</a></h4> </td> <td> <code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">.</span><span class="identifier">addBsRounded</span><span class="symbol">(</span><span class="keyword">vararg</span> <span class="identifier" id="pl.treksoft.kvision.core$addBsRounded(pl.treksoft.kvision.core.Component, kotlin.Array((pl.treksoft.kvision.core.BsRounded)))/bsRounded">bsRounded</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-bs-rounded/index.html"><span class="identifier">BsRounded</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></code></td> </tr> <tr> <td> -<p><a href="../../pl.treksoft.kvision.dropdown/context-menu.html">contextMenu</a></p> +(js) +<h4><a href="../../pl.treksoft.kvision.dropdown/context-menu.html">contextMenu</a></h4> </td> <td> -<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">.</span><span class="identifier">contextMenu</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.dropdown$contextMenu(pl.treksoft.kvision.core.Widget, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.dropdown.ContextMenu, kotlin.Unit)))/fixedPosition">fixedPosition</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.dropdown$contextMenu(pl.treksoft.kvision.core.Widget, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.dropdown.ContextMenu, 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.dropdown$contextMenu(pl.treksoft.kvision.core.Widget, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.dropdown.ContextMenu, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="../../pl.treksoft.kvision.dropdown/-context-menu/index.html"><span class="identifier">ContextMenu</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.dropdown/-context-menu/index.html"><span class="identifier">ContextMenu</span></a></code> <p>DSL builder extension function.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.utils/kotlin.-any/create-instance.html">createInstance</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="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">?</span><span class="symbol">.</span><span class="identifier">createInstance</span><span class="symbol">(</span><span class="keyword">vararg</span> <span class="identifier" id="pl.treksoft.kvision.utils$createInstance(kotlin.Any, kotlin.Array((kotlin.Any)))/args">args</span><span class="symbol">:</span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.utils/kotlin.-any/create-instance.html#T"><span class="identifier">T</span></a></code> -<p>Helper function for creating JavaScript objects from dynamic constructors.</p> -</td> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">.</span><span class="identifier">contextMenu</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.dropdown$contextMenu(pl.treksoft.kvision.core.Widget, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.dropdown.ContextMenu, kotlin.Unit)))/fixedPosition">fixedPosition</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.dropdown$contextMenu(pl.treksoft.kvision.core.Widget, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.dropdown.ContextMenu, 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.dropdown$contextMenu(pl.treksoft.kvision.core.Widget, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.dropdown.ContextMenu, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="../../pl.treksoft.kvision.dropdown/-context-menu/index.html"><span class="identifier">ContextMenu</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.dropdown/-context-menu/index.html"><span class="identifier">ContextMenu</span></a></code></td> </tr> <tr> <td> -<p><a href="../../pl.treksoft.kvision.event/event-flow.html">eventFlow</a></p> +(js) +<h4><a href="../../pl.treksoft.kvision.event/event-flow.html">eventFlow</a></h4> </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> +<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> <tr> <td> -<p><a href="../../pl.treksoft.kvision.core/on-event.html">onEvent</a></p> +(js) +<h4><a href="../../pl.treksoft.kvision.core/on-event.html">onEvent</a></h4> </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="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</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> <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> <td> -<p><a href="../../pl.treksoft.kvision.core/remove-bs-bg-color.html">removeBsBgColor</a></p> +(js) +<h4><a href="../../pl.treksoft.kvision.core/remove-bs-bg-color.html">removeBsBgColor</a></h4> </td> <td> <code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">.</span><span class="identifier">removeBsBgColor</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core$removeBsBgColor(pl.treksoft.kvision.core.Component, pl.treksoft.kvision.core.BsBgColor)/bsBgColor">bsBgColor</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><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code></td> </tr> <tr> <td> -<p><a href="../../pl.treksoft.kvision.core/remove-bs-border.html">removeBsBorder</a></p> +(js) +<h4><a href="../../pl.treksoft.kvision.core/remove-bs-border.html">removeBsBorder</a></h4> </td> <td> <code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">.</span><span class="identifier">removeBsBorder</span><span class="symbol">(</span><span class="keyword">vararg</span> <span class="identifier" id="pl.treksoft.kvision.core$removeBsBorder(pl.treksoft.kvision.core.Component, kotlin.Array((pl.treksoft.kvision.core.BsBorder)))/bsBorder">bsBorder</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-bs-border/index.html"><span class="identifier">BsBorder</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></code></td> </tr> <tr> <td> -<p><a href="../../pl.treksoft.kvision.core/remove-bs-clearfix.html">removeBsClearfix</a></p> +(js) +<h4><a href="../../pl.treksoft.kvision.core/remove-bs-clearfix.html">removeBsClearfix</a></h4> </td> <td> <code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">.</span><span class="identifier">removeBsClearfix</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></code></td> </tr> <tr> <td> -<p><a href="../../pl.treksoft.kvision.core/remove-bs-color.html">removeBsColor</a></p> +(js) +<h4><a href="../../pl.treksoft.kvision.core/remove-bs-color.html">removeBsColor</a></h4> </td> <td> <code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">.</span><span class="identifier">removeBsColor</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core$removeBsColor(pl.treksoft.kvision.core.Component, pl.treksoft.kvision.core.BsColor)/bsColor">bsColor</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-bs-color/index.html"><span class="identifier">BsColor</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></code></td> </tr> <tr> <td> -<p><a href="../../pl.treksoft.kvision.core/remove-bs-rounded.html">removeBsRounded</a></p> +(js) +<h4><a href="../../pl.treksoft.kvision.core/remove-bs-rounded.html">removeBsRounded</a></h4> </td> <td> <code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">.</span><span class="identifier">removeBsRounded</span><span class="symbol">(</span><span class="keyword">vararg</span> <span class="identifier" id="pl.treksoft.kvision.core$removeBsRounded(pl.treksoft.kvision.core.Component, kotlin.Array((pl.treksoft.kvision.core.BsRounded)))/bsRounded">bsRounded</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-bs-rounded/index.html"><span class="identifier">BsRounded</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></code></td> </tr> <tr> <td> -<p><a href="../../pl.treksoft.kvision.dropdown/set-context-menu.html">setContextMenu</a></p> +(js) +<h4><a href="../../pl.treksoft.kvision.dropdown/set-context-menu.html">setContextMenu</a></h4> </td> <td> -<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">.</span><span class="identifier">setContextMenu</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.dropdown$setContextMenu(pl.treksoft.kvision.core.Widget, pl.treksoft.kvision.dropdown.ContextMenu)/contextMenu">contextMenu</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.dropdown/-context-menu/index.html"><span class="identifier">ContextMenu</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 context menu for the current widget.</p> -</td> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">.</span><span class="identifier">setContextMenu</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.dropdown$setContextMenu(pl.treksoft.kvision.core.Widget, pl.treksoft.kvision.dropdown.ContextMenu)/contextMenu">contextMenu</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.dropdown/-context-menu/index.html"><span class="identifier">ContextMenu</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> </tr> <tr> <td> -<p><a href="../../pl.treksoft.kvision.core/style.html">style</a></p> +(js) +<h4><a href="../../pl.treksoft.kvision.core/style.html">style</a></h4> </td> <td> -<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">.</span><span class="identifier">style</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core$style(pl.treksoft.kvision.core.Widget, kotlin.String, kotlin.Function1((pl.treksoft.kvision.core.Style, 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$style(pl.treksoft.kvision.core.Widget, kotlin.String, kotlin.Function1((pl.treksoft.kvision.core.Style, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="../../pl.treksoft.kvision.core/-style/index.html"><span class="identifier">Style</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.core/-style/index.html"><span class="identifier">Style</span></a></code> <p>DSL builder extension function.</p> -</td> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">.</span><span class="identifier">style</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core$style(pl.treksoft.kvision.core.Widget, kotlin.String, kotlin.Function1((pl.treksoft.kvision.core.Style, 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$style(pl.treksoft.kvision.core.Widget, kotlin.String, kotlin.Function1((pl.treksoft.kvision.core.Style, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="../../pl.treksoft.kvision.core/-style/index.html"><span class="identifier">Style</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.core/-style/index.html"><span class="identifier">Style</span></a></code></td> </tr> </tbody> </table> diff --git a/api/pl.treksoft.kvision.state/-state-binding/update.html b/api/pl.treksoft.kvision.state/-state-binding/update.html index 35c873a4..5515aedc 100644 --- a/api/pl.treksoft.kvision.state/-state-binding/update.html +++ b/api/pl.treksoft.kvision.state/-state-binding/update.html @@ -8,8 +8,8 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.state</a> / <a href="index.html">StateBinding</a> / <a href="./update.html">update</a><br/> <br/> <h1>update</h1> -<a name="pl.treksoft.kvision.state.StateBinding$update(pl.treksoft.kvision.state.StateBinding.S)"></a> -<code><span class="keyword">fun </span><span class="identifier">update</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.StateBinding$update(pl.treksoft.kvision.state.StateBinding.S)/state">state</span><span class="symbol">:</span> <a href="index.html#S"><span class="identifier">S</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></code> +(js) <a name="pl.treksoft.kvision.state.StateBinding$update(pl.treksoft.kvision.state.StateBinding.S)"></a> +<code><span class="keyword">fun </span><span class="identifier">update</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.StateBinding$update(pl.treksoft.kvision.state.StateBinding.S)/state">state</span><span class="symbol">:</span> <span class="identifier">S</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></code> <p>Updates view based on the current state.</p> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.state/-updateable/-init-.html b/api/pl.treksoft.kvision.state/-updateable/-init-.html index ad0682de..1f14a5fa 100644 --- a/api/pl.treksoft.kvision.state/-updateable/-init-.html +++ b/api/pl.treksoft.kvision.state/-updateable/-init-.html @@ -8,8 +8,8 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.state</a> / <a href="index.html">Updateable</a> / <a href="./-init-.html"><init></a><br/> <br/> <h1><init></h1> -<a name="pl.treksoft.kvision.state.Updateable$<init>(kotlin.Function1((kotlin.Function2((pl.treksoft.kvision.state.Updateable.S, pl.treksoft.kvision.state.Updateable.CONTENT, kotlin.Unit)), )))"></a> -<code><span class="identifier">Updateable</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.Updateable$<init>(kotlin.Function1((kotlin.Function2((pl.treksoft.kvision.state.Updateable.S, pl.treksoft.kvision.state.Updateable.CONTENT, kotlin.Unit)), )))/setUpdateState">setUpdateState</span><span class="symbol">:</span> <span class="symbol">(</span><span class="symbol">(</span><a href="index.html#S"><span class="identifier">S</span></a><span class="symbol">,</span> <a href="index.html#CONTENT"><span class="identifier">CONTENT</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/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span></code> +(js) <a name="pl.treksoft.kvision.state.Updateable$<init>(kotlin.Function1((kotlin.Function2((pl.treksoft.kvision.state.Updateable.S, pl.treksoft.kvision.state.Updateable.CONTENT, kotlin.Unit)), )))"></a> +<code><span class="identifier">Updateable</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.Updateable$<init>(kotlin.Function1((kotlin.Function2((pl.treksoft.kvision.state.Updateable.S, pl.treksoft.kvision.state.Updateable.CONTENT, kotlin.Unit)), )))/setUpdateState">setUpdateState</span><span class="symbol">:</span> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">S</span><span class="symbol">,</span> <span class="identifier">CONTENT</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/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span></code> <p>A helper class for updateable content.</p> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.state/-updateable/index.html b/api/pl.treksoft.kvision.state/-updateable/index.html index 6b84a1ed..4bc13274 100644 --- a/api/pl.treksoft.kvision.state/-updateable/index.html +++ b/api/pl.treksoft.kvision.state/-updateable/index.html @@ -8,19 +8,19 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.state</a> / <a href="./index.html">Updateable</a><br/> <br/> <h1>Updateable</h1> -<code><span class="keyword">class </span><span class="identifier">Updateable</span><span class="symbol"><</span><span class="identifier">S</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">, </span><span class="identifier">CONTENT</span><span class="symbol">></span></code> +(js) <code><span class="keyword">class </span><span class="identifier">Updateable</span><span class="symbol"><</span><span class="identifier">S</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">, </span><span class="identifier">CONTENT</span><span class="symbol">></span></code> <p>A helper class for updateable content.</p> <h3>Constructors</h3> <table> <tbody> <tr> <td> -<p><a href="-init-.html"><init></a></p> +(js) +<h4><a href="-init-.html"><init></a></h4> </td> <td> -<code><span class="identifier">Updateable</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.Updateable$<init>(kotlin.Function1((kotlin.Function2((pl.treksoft.kvision.state.Updateable.S, pl.treksoft.kvision.state.Updateable.CONTENT, kotlin.Unit)), )))/setUpdateState">setUpdateState</span><span class="symbol">:</span> <span class="symbol">(</span><span class="symbol">(</span><a href="index.html#S"><span class="identifier">S</span></a><span class="symbol">,</span> <a href="index.html#CONTENT"><span class="identifier">CONTENT</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/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span></code> <p>A helper class for updateable content.</p> -</td> +<code><span class="identifier">Updateable</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.Updateable$<init>(kotlin.Function1((kotlin.Function2((pl.treksoft.kvision.state.Updateable.S, pl.treksoft.kvision.state.Updateable.CONTENT, kotlin.Unit)), )))/setUpdateState">setUpdateState</span><span class="symbol">:</span> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">S</span><span class="symbol">,</span> <span class="identifier">CONTENT</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/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span></code></td> </tr> </tbody> </table> @@ -29,24 +29,11 @@ <tbody> <tr> <td> -<p><a href="update-with.html">updateWith</a></p> +(js) +<h4><a href="update-with.html">updateWith</a></h4> </td> <td> -<code><span class="keyword">infix</span> <span class="keyword">fun </span><span class="identifier">updateWith</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.Updateable$updateWith(kotlin.Function2((pl.treksoft.kvision.state.Updateable.S, pl.treksoft.kvision.state.Updateable.CONTENT, kotlin.Unit)))/updateState">updateState</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html#S"><span class="identifier">S</span></a><span class="symbol">,</span> <a href="index.html#CONTENT"><span class="identifier">CONTENT</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/-unit/index.html"><span class="identifier">Unit</span></a></code></td> -</tr> -</tbody> -</table> -<h3>Extension Functions</h3> -<table> -<tbody> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.utils/kotlin.-any/create-instance.html">createInstance</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="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">?</span><span class="symbol">.</span><span class="identifier">createInstance</span><span class="symbol">(</span><span class="keyword">vararg</span> <span class="identifier" id="pl.treksoft.kvision.utils$createInstance(kotlin.Any, kotlin.Array((kotlin.Any)))/args">args</span><span class="symbol">:</span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.utils/kotlin.-any/create-instance.html#T"><span class="identifier">T</span></a></code> -<p>Helper function for creating JavaScript objects from dynamic constructors.</p> -</td> +<code><span class="keyword">infix</span> <span class="keyword">fun </span><span class="identifier">updateWith</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.Updateable$updateWith(kotlin.Function2((pl.treksoft.kvision.state.Updateable.S, pl.treksoft.kvision.state.Updateable.CONTENT, kotlin.Unit)))/updateState">updateState</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">S</span><span class="symbol">,</span> <span class="identifier">CONTENT</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/-unit/index.html"><span class="identifier">Unit</span></a></code></td> </tr> </tbody> </table> diff --git a/api/pl.treksoft.kvision.state/-updateable/update-with.html b/api/pl.treksoft.kvision.state/-updateable/update-with.html index 0029d643..0cab627c 100644 --- a/api/pl.treksoft.kvision.state/-updateable/update-with.html +++ b/api/pl.treksoft.kvision.state/-updateable/update-with.html @@ -8,7 +8,7 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.state</a> / <a href="index.html">Updateable</a> / <a href="./update-with.html">updateWith</a><br/> <br/> <h1>updateWith</h1> -<a name="pl.treksoft.kvision.state.Updateable$updateWith(kotlin.Function2((pl.treksoft.kvision.state.Updateable.S, pl.treksoft.kvision.state.Updateable.CONTENT, kotlin.Unit)))"></a> -<code><span class="keyword">infix</span> <span class="keyword">fun </span><span class="identifier">updateWith</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.Updateable$updateWith(kotlin.Function2((pl.treksoft.kvision.state.Updateable.S, pl.treksoft.kvision.state.Updateable.CONTENT, kotlin.Unit)))/updateState">updateState</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html#S"><span class="identifier">S</span></a><span class="symbol">,</span> <a href="index.html#CONTENT"><span class="identifier">CONTENT</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/-unit/index.html"><span class="identifier">Unit</span></a></code> +(js) <a name="pl.treksoft.kvision.state.Updateable$updateWith(kotlin.Function2((pl.treksoft.kvision.state.Updateable.S, pl.treksoft.kvision.state.Updateable.CONTENT, kotlin.Unit)))"></a> +<code><span class="keyword">infix</span> <span class="keyword">fun </span><span class="identifier">updateWith</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.Updateable$updateWith(kotlin.Function2((pl.treksoft.kvision.state.Updateable.S, pl.treksoft.kvision.state.Updateable.CONTENT, kotlin.Unit)))/updateState">updateState</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">S</span><span class="symbol">,</span> <span class="identifier">CONTENT</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/-unit/index.html"><span class="identifier">Unit</span></a></code> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.state/index.html b/api/pl.treksoft.kvision.state/index.html index e87f16ff..672d6cef 100644 --- a/api/pl.treksoft.kvision.state/index.html +++ b/api/pl.treksoft.kvision.state/index.html @@ -14,48 +14,48 @@ <tbody> <tr> <td> -<p><a href="-observable-list/index.html">ObservableList</a></p> +(js) +<h4><a href="-observable-list/index.html">ObservableList</a></h4> </td> <td> -<code><span class="keyword">interface </span><span class="identifier">ObservableList</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/kotlin.collections/-mutable-list/index.html"><span class="identifier">MutableList</span></a><span class="symbol"><</span><a href="-observable-list/index.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">, </span><a href="-observable-state/index.html"><span class="identifier">ObservableState</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="-observable-list/index.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">></span></code> <p>Observable list interface.</p> -</td> +<code><span class="keyword">interface </span><span class="identifier">ObservableList</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/kotlin.collections/-mutable-list/index.html"><span class="identifier">MutableList</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span><span class="symbol">, </span><a href="-observable-state/index.html"><span class="identifier">ObservableState</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span><span class="symbol">></span></code></td> </tr> <tr> <td> -<p><a href="-observable-list-wrapper/index.html">ObservableListWrapper</a></p> +(js) +<h4><a href="-observable-list-wrapper/index.html">ObservableListWrapper</a></h4> </td> <td> -<code><span class="keyword">class </span><span class="identifier">ObservableListWrapper</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/kotlin.collections/-mutable-list/index.html"><span class="identifier">MutableList</span></a><span class="symbol"><</span><a href="-observable-list-wrapper/index.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">, </span><a href="-observable-list/index.html"><span class="identifier">ObservableList</span></a><span class="symbol"><</span><a href="-observable-list-wrapper/index.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">, </span><a href="-observable-state/index.html"><span class="identifier">ObservableState</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="-observable-list-wrapper/index.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">></span></code> <p>Simple observable list implementation.</p> -</td> +<code><span class="keyword">class </span><span class="identifier">ObservableListWrapper</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/kotlin.collections/-mutable-list/index.html"><span class="identifier">MutableList</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span><span class="symbol">, </span><a href="-observable-list/index.html"><span class="identifier">ObservableList</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span><span class="symbol">, </span><a href="-observable-state/index.html"><span class="identifier">ObservableState</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span><span class="symbol">></span></code></td> </tr> <tr> <td> -<p><a href="-observable-state/index.html">ObservableState</a></p> +(js) +<h4><a href="-observable-state/index.html">ObservableState</a></h4> </td> <td> -<code><span class="keyword">interface </span><span class="identifier">ObservableState</span><span class="symbol"><</span><span class="identifier">S</span><span class="symbol">></span></code> <p>An interface of observable state.</p> -</td> +<code><span class="keyword">interface </span><span class="identifier">ObservableState</span><span class="symbol"><</span><span class="identifier">S</span><span class="symbol">></span></code></td> </tr> <tr> <td> -<p><a href="-state-binding/index.html">StateBinding</a></p> +(js) +<h4><a href="-state-binding/index.html">StateBinding</a></h4> </td> <td> -<code><span class="keyword">class </span><span class="identifier">StateBinding</span><span class="symbol"><</span><span class="identifier">S</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">, </span><span class="identifier">CONT</span> <span class="symbol">:</span> <a href="../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">, </span><span class="identifier">CONTENT</span><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>A class which binds the given container to the observable state.</p> -</td> +<code><span class="keyword">class </span><span class="identifier">StateBinding</span><span class="symbol"><</span><span class="identifier">S</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">, </span><span class="identifier">CONT</span> <span class="symbol">:</span> <a href="../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">, </span><span class="identifier">CONTENT</span><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> </tr> <tr> <td> -<p><a href="-updateable/index.html">Updateable</a></p> +(js) +<h4><a href="-updateable/index.html">Updateable</a></h4> </td> <td> -<code><span class="keyword">class </span><span class="identifier">Updateable</span><span class="symbol"><</span><span class="identifier">S</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">, </span><span class="identifier">CONTENT</span><span class="symbol">></span></code> <p>A helper class for updateable content.</p> -</td> +<code><span class="keyword">class </span><span class="identifier">Updateable</span><span class="symbol"><</span><span class="identifier">S</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">, </span><span class="identifier">CONTENT</span><span class="symbol">></span></code></td> </tr> </tbody> </table> @@ -64,30 +64,30 @@ <tbody> <tr> <td> -<p><a href="observable-list-of.html">observableListOf</a></p> +(js) +<h4><a href="observable-list-of.html">observableListOf</a></h4> </td> <td> -<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span> <span class="identifier">observableListOf</span><span class="symbol">(</span><span class="keyword">vararg</span> <span class="identifier" id="pl.treksoft.kvision.state$observableListOf(kotlin.Array((pl.treksoft.kvision.state.observableListOf.T)))/items">items</span><span class="symbol">:</span> <a href="observable-list-of.html#T"><span class="identifier">T</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="-observable-list-wrapper/index.html"><span class="identifier">ObservableListWrapper</span></a><span class="symbol"><</span><a href="observable-list-of.html#T"><span class="identifier">T</span></a><span class="symbol">></span></code> <p>Creates an instance of ObservableList</p> -</td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span> <span class="identifier">observableListOf</span><span class="symbol">(</span><span class="keyword">vararg</span> <span class="identifier" id="pl.treksoft.kvision.state$observableListOf(kotlin.Array((pl.treksoft.kvision.state.observableListOf.T)))/items">items</span><span class="symbol">:</span> <span class="identifier">T</span><span class="symbol">)</span><span class="symbol">: </span><a href="-observable-list-wrapper/index.html"><span class="identifier">ObservableListWrapper</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span></code></td> </tr> <tr> <td> -<p><a href="state-binding.html">stateBinding</a></p> +(js) +<h4><a href="state-binding.html">stateBinding</a></h4> </td> <td> -<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">S</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">, </span><span class="identifier">CONT</span> <span class="symbol">:</span> <a href="../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">></span> <a href="state-binding.html#CONT"><span class="identifier">CONT</span></a><span class="symbol">.</span><span class="identifier">stateBinding</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state$stateBinding(pl.treksoft.kvision.state.stateBinding.CONT, pl.treksoft.kvision.state.ObservableState((pl.treksoft.kvision.state.stateBinding.S)), kotlin.Function2((pl.treksoft.kvision.state.stateBinding.CONT, pl.treksoft.kvision.state.stateBinding.S, kotlin.Unit)))/observableState">observableState</span><span class="symbol">:</span> <a href="-observable-state/index.html"><span class="identifier">ObservableState</span></a><span class="symbol"><</span><a href="state-binding.html#S"><span class="identifier">S</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.state$stateBinding(pl.treksoft.kvision.state.stateBinding.CONT, pl.treksoft.kvision.state.ObservableState((pl.treksoft.kvision.state.stateBinding.S)), kotlin.Function2((pl.treksoft.kvision.state.stateBinding.CONT, pl.treksoft.kvision.state.stateBinding.S, kotlin.Unit)))/factory">factory</span><span class="symbol">:</span> <a href="state-binding.html#CONT"><span class="identifier">CONT</span></a><span class="symbol">.</span><span class="symbol">(</span><a href="state-binding.html#S"><span class="identifier">S</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="-state-binding/index.html"><span class="identifier">StateBinding</span></a><span class="symbol"><</span><a href="state-binding.html#S"><span class="identifier">S</span></a><span class="symbol">,</span> <a href="state-binding.html#CONT"><span class="identifier">CONT</span></a><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></code> <p>DSL builder extension function.</p> -</td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">S</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">, </span><span class="identifier">CONT</span> <span class="symbol">:</span> <a href="../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">></span> <span class="identifier">CONT</span><span class="symbol">.</span><span class="identifier">stateBinding</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state$stateBinding(pl.treksoft.kvision.state.stateBinding.CONT, pl.treksoft.kvision.state.ObservableState((pl.treksoft.kvision.state.stateBinding.S)), kotlin.Function2((pl.treksoft.kvision.state.stateBinding.CONT, pl.treksoft.kvision.state.stateBinding.S, kotlin.Unit)))/observableState">observableState</span><span class="symbol">:</span> <a href="-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" id="pl.treksoft.kvision.state$stateBinding(pl.treksoft.kvision.state.stateBinding.CONT, pl.treksoft.kvision.state.ObservableState((pl.treksoft.kvision.state.stateBinding.S)), kotlin.Function2((pl.treksoft.kvision.state.stateBinding.CONT, pl.treksoft.kvision.state.stateBinding.S, kotlin.Unit)))/factory">factory</span><span class="symbol">:</span> <span class="identifier">CONT</span><span class="symbol">.</span><span class="symbol">(</span><span class="identifier">S</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="-state-binding/index.html"><span class="identifier">StateBinding</span></a><span class="symbol"><</span><span class="identifier">S</span><span class="symbol">,</span> <span class="identifier">CONT</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></code></td> </tr> <tr> <td> -<p><a href="state-update.html">stateUpdate</a></p> +(js) +<h4><a href="state-update.html">stateUpdate</a></h4> </td> <td> -<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">S</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">, </span><span class="identifier">CONT</span> <span class="symbol">:</span> <a href="../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">, </span><span class="identifier">CONTENT</span><span class="symbol">></span> <a href="state-update.html#CONT"><span class="identifier">CONT</span></a><span class="symbol">.</span><span class="identifier">stateUpdate</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state$stateUpdate(pl.treksoft.kvision.state.stateUpdate.CONT, pl.treksoft.kvision.state.ObservableState((pl.treksoft.kvision.state.stateUpdate.S)), kotlin.Function2((pl.treksoft.kvision.state.stateUpdate.CONT, pl.treksoft.kvision.state.stateUpdate.S, pl.treksoft.kvision.state.stateUpdate.CONTENT)))/observableState">observableState</span><span class="symbol">:</span> <a href="-observable-state/index.html"><span class="identifier">ObservableState</span></a><span class="symbol"><</span><a href="state-update.html#S"><span class="identifier">S</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.state$stateUpdate(pl.treksoft.kvision.state.stateUpdate.CONT, pl.treksoft.kvision.state.ObservableState((pl.treksoft.kvision.state.stateUpdate.S)), kotlin.Function2((pl.treksoft.kvision.state.stateUpdate.CONT, pl.treksoft.kvision.state.stateUpdate.S, pl.treksoft.kvision.state.stateUpdate.CONTENT)))/factory">factory</span><span class="symbol">:</span> <a href="state-update.html#CONT"><span class="identifier">CONT</span></a><span class="symbol">.</span><span class="symbol">(</span><a href="state-update.html#S"><span class="identifier">S</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="state-update.html#CONTENT"><span class="identifier">CONTENT</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="-updateable/index.html"><span class="identifier">Updateable</span></a><span class="symbol"><</span><a href="state-update.html#S"><span class="identifier">S</span></a><span class="symbol">,</span> <a href="state-update.html#CONTENT"><span class="identifier">CONTENT</span></a><span class="symbol">></span></code> <p>DSL builder extension function for updateable redux content.</p> -</td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">S</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">, </span><span class="identifier">CONT</span> <span class="symbol">:</span> <a href="../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">, </span><span class="identifier">CONTENT</span><span class="symbol">></span> <span class="identifier">CONT</span><span class="symbol">.</span><span class="identifier">stateUpdate</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state$stateUpdate(pl.treksoft.kvision.state.stateUpdate.CONT, pl.treksoft.kvision.state.ObservableState((pl.treksoft.kvision.state.stateUpdate.S)), kotlin.Function2((pl.treksoft.kvision.state.stateUpdate.CONT, pl.treksoft.kvision.state.stateUpdate.S, pl.treksoft.kvision.state.stateUpdate.CONTENT)))/observableState">observableState</span><span class="symbol">:</span> <a href="-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" id="pl.treksoft.kvision.state$stateUpdate(pl.treksoft.kvision.state.stateUpdate.CONT, pl.treksoft.kvision.state.ObservableState((pl.treksoft.kvision.state.stateUpdate.S)), kotlin.Function2((pl.treksoft.kvision.state.stateUpdate.CONT, pl.treksoft.kvision.state.stateUpdate.S, pl.treksoft.kvision.state.stateUpdate.CONTENT)))/factory">factory</span><span class="symbol">:</span> <span class="identifier">CONT</span><span class="symbol">.</span><span class="symbol">(</span><span class="identifier">S</span><span class="symbol">)</span> <span class="symbol">-></span> <span class="identifier">CONTENT</span><span class="symbol">)</span><span class="symbol">: </span><a href="-updateable/index.html"><span class="identifier">Updateable</span></a><span class="symbol"><</span><span class="identifier">S</span><span class="symbol">,</span> <span class="identifier">CONTENT</span><span class="symbol">></span></code></td> </tr> </tbody> </table> diff --git a/api/pl.treksoft.kvision.state/observable-list-of.html b/api/pl.treksoft.kvision.state/observable-list-of.html index 31a4ac52..67279b8e 100644 --- a/api/pl.treksoft.kvision.state/observable-list-of.html +++ b/api/pl.treksoft.kvision.state/observable-list-of.html @@ -8,8 +8,8 @@ <a href="../index.html">kvision</a> / <a href="index.html">pl.treksoft.kvision.state</a> / <a href="./observable-list-of.html">observableListOf</a><br/> <br/> <h1>observableListOf</h1> -<a name="pl.treksoft.kvision.state$observableListOf(kotlin.Array((pl.treksoft.kvision.state.observableListOf.T)))"></a> -<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span> <span class="identifier">observableListOf</span><span class="symbol">(</span><span class="keyword">vararg</span> <span class="identifier" id="pl.treksoft.kvision.state$observableListOf(kotlin.Array((pl.treksoft.kvision.state.observableListOf.T)))/items">items</span><span class="symbol">:</span> <a href="observable-list-of.html#T"><span class="identifier">T</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="-observable-list-wrapper/index.html"><span class="identifier">ObservableListWrapper</span></a><span class="symbol"><</span><a href="observable-list-of.html#T"><span class="identifier">T</span></a><span class="symbol">></span></code> +(js) <a name="pl.treksoft.kvision.state$observableListOf(kotlin.Array((pl.treksoft.kvision.state.observableListOf.T)))"></a> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span> <span class="identifier">observableListOf</span><span class="symbol">(</span><span class="keyword">vararg</span> <span class="identifier" id="pl.treksoft.kvision.state$observableListOf(kotlin.Array((pl.treksoft.kvision.state.observableListOf.T)))/items">items</span><span class="symbol">:</span> <span class="identifier">T</span><span class="symbol">)</span><span class="symbol">: </span><a href="-observable-list-wrapper/index.html"><span class="identifier">ObservableListWrapper</span></a><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span></code> <p>Creates an instance of ObservableList</p> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.state/state-binding.html b/api/pl.treksoft.kvision.state/state-binding.html index b60d6765..5b123a34 100644 --- a/api/pl.treksoft.kvision.state/state-binding.html +++ b/api/pl.treksoft.kvision.state/state-binding.html @@ -8,8 +8,8 @@ <a href="../index.html">kvision</a> / <a href="index.html">pl.treksoft.kvision.state</a> / <a href="./state-binding.html">stateBinding</a><br/> <br/> <h1>stateBinding</h1> -<a name="pl.treksoft.kvision.state$stateBinding(pl.treksoft.kvision.state.stateBinding.CONT, pl.treksoft.kvision.state.ObservableState((pl.treksoft.kvision.state.stateBinding.S)), kotlin.Function2((pl.treksoft.kvision.state.stateBinding.CONT, pl.treksoft.kvision.state.stateBinding.S, kotlin.Unit)))"></a> -<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">S</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">, </span><span class="identifier">CONT</span> <span class="symbol">:</span> <a href="../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">></span> <a href="state-binding.html#CONT"><span class="identifier">CONT</span></a><span class="symbol">.</span><span class="identifier">stateBinding</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state$stateBinding(pl.treksoft.kvision.state.stateBinding.CONT, pl.treksoft.kvision.state.ObservableState((pl.treksoft.kvision.state.stateBinding.S)), kotlin.Function2((pl.treksoft.kvision.state.stateBinding.CONT, pl.treksoft.kvision.state.stateBinding.S, kotlin.Unit)))/observableState">observableState</span><span class="symbol">:</span> <a href="-observable-state/index.html"><span class="identifier">ObservableState</span></a><span class="symbol"><</span><a href="state-binding.html#S"><span class="identifier">S</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.state$stateBinding(pl.treksoft.kvision.state.stateBinding.CONT, pl.treksoft.kvision.state.ObservableState((pl.treksoft.kvision.state.stateBinding.S)), kotlin.Function2((pl.treksoft.kvision.state.stateBinding.CONT, pl.treksoft.kvision.state.stateBinding.S, kotlin.Unit)))/factory">factory</span><span class="symbol">:</span> <a href="state-binding.html#CONT"><span class="identifier">CONT</span></a><span class="symbol">.</span><span class="symbol">(</span><a href="state-binding.html#S"><span class="identifier">S</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="-state-binding/index.html"><span class="identifier">StateBinding</span></a><span class="symbol"><</span><a href="state-binding.html#S"><span class="identifier">S</span></a><span class="symbol">,</span> <a href="state-binding.html#CONT"><span class="identifier">CONT</span></a><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></code> +(js) <a name="pl.treksoft.kvision.state$stateBinding(pl.treksoft.kvision.state.stateBinding.CONT, pl.treksoft.kvision.state.ObservableState((pl.treksoft.kvision.state.stateBinding.S)), kotlin.Function2((pl.treksoft.kvision.state.stateBinding.CONT, pl.treksoft.kvision.state.stateBinding.S, kotlin.Unit)))"></a> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">S</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">, </span><span class="identifier">CONT</span> <span class="symbol">:</span> <a href="../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">></span> <span class="identifier">CONT</span><span class="symbol">.</span><span class="identifier">stateBinding</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state$stateBinding(pl.treksoft.kvision.state.stateBinding.CONT, pl.treksoft.kvision.state.ObservableState((pl.treksoft.kvision.state.stateBinding.S)), kotlin.Function2((pl.treksoft.kvision.state.stateBinding.CONT, pl.treksoft.kvision.state.stateBinding.S, kotlin.Unit)))/observableState">observableState</span><span class="symbol">:</span> <a href="-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" id="pl.treksoft.kvision.state$stateBinding(pl.treksoft.kvision.state.stateBinding.CONT, pl.treksoft.kvision.state.ObservableState((pl.treksoft.kvision.state.stateBinding.S)), kotlin.Function2((pl.treksoft.kvision.state.stateBinding.CONT, pl.treksoft.kvision.state.stateBinding.S, kotlin.Unit)))/factory">factory</span><span class="symbol">:</span> <span class="identifier">CONT</span><span class="symbol">.</span><span class="symbol">(</span><span class="identifier">S</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="-state-binding/index.html"><span class="identifier">StateBinding</span></a><span class="symbol"><</span><span class="identifier">S</span><span class="symbol">,</span> <span class="identifier">CONT</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></code> <p>DSL builder extension function.</p> <p>It takes the same parameters as the constructor of the built component.</p> </BODY> diff --git a/api/pl.treksoft.kvision.state/state-update.html b/api/pl.treksoft.kvision.state/state-update.html index c2d6d5ba..d3cbd9bd 100644 --- a/api/pl.treksoft.kvision.state/state-update.html +++ b/api/pl.treksoft.kvision.state/state-update.html @@ -8,8 +8,8 @@ <a href="../index.html">kvision</a> / <a href="index.html">pl.treksoft.kvision.state</a> / <a href="./state-update.html">stateUpdate</a><br/> <br/> <h1>stateUpdate</h1> -<a name="pl.treksoft.kvision.state$stateUpdate(pl.treksoft.kvision.state.stateUpdate.CONT, pl.treksoft.kvision.state.ObservableState((pl.treksoft.kvision.state.stateUpdate.S)), kotlin.Function2((pl.treksoft.kvision.state.stateUpdate.CONT, pl.treksoft.kvision.state.stateUpdate.S, pl.treksoft.kvision.state.stateUpdate.CONTENT)))"></a> -<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">S</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">, </span><span class="identifier">CONT</span> <span class="symbol">:</span> <a href="../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">, </span><span class="identifier">CONTENT</span><span class="symbol">></span> <a href="state-update.html#CONT"><span class="identifier">CONT</span></a><span class="symbol">.</span><span class="identifier">stateUpdate</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state$stateUpdate(pl.treksoft.kvision.state.stateUpdate.CONT, pl.treksoft.kvision.state.ObservableState((pl.treksoft.kvision.state.stateUpdate.S)), kotlin.Function2((pl.treksoft.kvision.state.stateUpdate.CONT, pl.treksoft.kvision.state.stateUpdate.S, pl.treksoft.kvision.state.stateUpdate.CONTENT)))/observableState">observableState</span><span class="symbol">:</span> <a href="-observable-state/index.html"><span class="identifier">ObservableState</span></a><span class="symbol"><</span><a href="state-update.html#S"><span class="identifier">S</span></a><span class="symbol">></span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.state$stateUpdate(pl.treksoft.kvision.state.stateUpdate.CONT, pl.treksoft.kvision.state.ObservableState((pl.treksoft.kvision.state.stateUpdate.S)), kotlin.Function2((pl.treksoft.kvision.state.stateUpdate.CONT, pl.treksoft.kvision.state.stateUpdate.S, pl.treksoft.kvision.state.stateUpdate.CONTENT)))/factory">factory</span><span class="symbol">:</span> <a href="state-update.html#CONT"><span class="identifier">CONT</span></a><span class="symbol">.</span><span class="symbol">(</span><a href="state-update.html#S"><span class="identifier">S</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="state-update.html#CONTENT"><span class="identifier">CONTENT</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="-updateable/index.html"><span class="identifier">Updateable</span></a><span class="symbol"><</span><a href="state-update.html#S"><span class="identifier">S</span></a><span class="symbol">,</span> <a href="state-update.html#CONTENT"><span class="identifier">CONTENT</span></a><span class="symbol">></span></code> +(js) <a name="pl.treksoft.kvision.state$stateUpdate(pl.treksoft.kvision.state.stateUpdate.CONT, pl.treksoft.kvision.state.ObservableState((pl.treksoft.kvision.state.stateUpdate.S)), kotlin.Function2((pl.treksoft.kvision.state.stateUpdate.CONT, pl.treksoft.kvision.state.stateUpdate.S, pl.treksoft.kvision.state.stateUpdate.CONTENT)))"></a> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">S</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">, </span><span class="identifier">CONT</span> <span class="symbol">:</span> <a href="../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">, </span><span class="identifier">CONTENT</span><span class="symbol">></span> <span class="identifier">CONT</span><span class="symbol">.</span><span class="identifier">stateUpdate</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state$stateUpdate(pl.treksoft.kvision.state.stateUpdate.CONT, pl.treksoft.kvision.state.ObservableState((pl.treksoft.kvision.state.stateUpdate.S)), kotlin.Function2((pl.treksoft.kvision.state.stateUpdate.CONT, pl.treksoft.kvision.state.stateUpdate.S, pl.treksoft.kvision.state.stateUpdate.CONTENT)))/observableState">observableState</span><span class="symbol">:</span> <a href="-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" id="pl.treksoft.kvision.state$stateUpdate(pl.treksoft.kvision.state.stateUpdate.CONT, pl.treksoft.kvision.state.ObservableState((pl.treksoft.kvision.state.stateUpdate.S)), kotlin.Function2((pl.treksoft.kvision.state.stateUpdate.CONT, pl.treksoft.kvision.state.stateUpdate.S, pl.treksoft.kvision.state.stateUpdate.CONTENT)))/factory">factory</span><span class="symbol">:</span> <span class="identifier">CONT</span><span class="symbol">.</span><span class="symbol">(</span><span class="identifier">S</span><span class="symbol">)</span> <span class="symbol">-></span> <span class="identifier">CONTENT</span><span class="symbol">)</span><span class="symbol">: </span><a href="-updateable/index.html"><span class="identifier">Updateable</span></a><span class="symbol"><</span><span class="identifier">S</span><span class="symbol">,</span> <span class="identifier">CONTENT</span><span class="symbol">></span></code> <p>DSL builder extension function for updateable redux content.</p> <p>It takes the same parameters as the constructor of the built component.</p> </BODY> |