diff options
Diffstat (limited to 'api/pl.treksoft.kvision.state/-updateable/index.html')
-rw-r--r-- | api/pl.treksoft.kvision.state/-updateable/index.html | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/api/pl.treksoft.kvision.state/-updateable/index.html b/api/pl.treksoft.kvision.state/-updateable/index.html new file mode 100644 index 00000000..6b84a1ed --- /dev/null +++ b/api/pl.treksoft.kvision.state/-updateable/index.html @@ -0,0 +1,54 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Updateable - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<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> +<p>A helper class for updateable content.</p> +<h3>Constructors</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-init-.html"><init></a></p> +</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> +</tr> +</tbody> +</table> +<h3>Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="update-with.html">updateWith</a></p> +</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> +</tr> +</tbody> +</table> +</BODY> +</HTML> |