diff options
author | Robert Jaros <rjaros@finn.pl> | 2019-03-06 13:53:58 +0100 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2019-03-06 13:53:58 +0100 |
commit | eeb8fdf8f890daeed907a6d0591ea6fae8421860 (patch) | |
tree | 7b9c3a852aac88b2ed990c38104f72944103e7da /api/pl.treksoft.kvision.utils | |
parent | c7169d6e9dec101fc5523f84766b6fd0c3ecb656 (diff) | |
download | kvision-eeb8fdf8f890daeed907a6d0591ea6fae8421860.tar.gz kvision-eeb8fdf8f890daeed907a6d0591ea6fae8421860.tar.bz2 kvision-eeb8fdf8f890daeed907a6d0591ea6fae8421860.zip |
API documentation for KVision 0.0.28
Diffstat (limited to 'api/pl.treksoft.kvision.utils')
-rw-r--r-- | api/pl.treksoft.kvision.utils/-j-s-o-n/index.html | 14 | ||||
-rw-r--r-- | api/pl.treksoft.kvision.utils/-kv-event/index.html | 14 | ||||
-rw-r--r-- | api/pl.treksoft.kvision.utils/-object/index.html | 14 | ||||
-rw-r--r-- | api/pl.treksoft.kvision.utils/index.html | 7 | ||||
-rw-r--r-- | api/pl.treksoft.kvision.utils/kotlin.-any/create-instance.html | 15 | ||||
-rw-r--r-- | api/pl.treksoft.kvision.utils/kotlin.-any/index.html | 25 | ||||
-rw-r--r-- | api/pl.treksoft.kvision.utils/obj.html | 2 | ||||
-rw-r--r-- | api/pl.treksoft.kvision.utils/sn-attrs.html | 2 | ||||
-rw-r--r-- | api/pl.treksoft.kvision.utils/sn-classes.html | 2 | ||||
-rw-r--r-- | api/pl.treksoft.kvision.utils/sn-opt.html | 2 | ||||
-rw-r--r-- | api/pl.treksoft.kvision.utils/sn-props.html | 2 | ||||
-rw-r--r-- | api/pl.treksoft.kvision.utils/sn-style.html | 2 |
12 files changed, 95 insertions, 6 deletions
diff --git a/api/pl.treksoft.kvision.utils/-j-s-o-n/index.html b/api/pl.treksoft.kvision.utils/-j-s-o-n/index.html index c0e7d846..7438053a 100644 --- a/api/pl.treksoft.kvision.utils/-j-s-o-n/index.html +++ b/api/pl.treksoft.kvision.utils/-j-s-o-n/index.html @@ -44,5 +44,19 @@ </tr> </tbody> </table> +<h3>Extension Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../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="../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> diff --git a/api/pl.treksoft.kvision.utils/-kv-event/index.html b/api/pl.treksoft.kvision.utils/-kv-event/index.html index 5a47c9f4..8ff7ac06 100644 --- a/api/pl.treksoft.kvision.utils/-kv-event/index.html +++ b/api/pl.treksoft.kvision.utils/-kv-event/index.html @@ -36,5 +36,19 @@ </tr> </tbody> </table> +<h3>Extension Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../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="../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> diff --git a/api/pl.treksoft.kvision.utils/-object/index.html b/api/pl.treksoft.kvision.utils/-object/index.html index 69ec7171..eda8822d 100644 --- a/api/pl.treksoft.kvision.utils/-object/index.html +++ b/api/pl.treksoft.kvision.utils/-object/index.html @@ -24,5 +24,19 @@ </tr> </tbody> </table> +<h3>Extension Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../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="../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> diff --git a/api/pl.treksoft.kvision.utils/index.html b/api/pl.treksoft.kvision.utils/index.html index 0f2adbdc..91fe813b 100644 --- a/api/pl.treksoft.kvision.utils/index.html +++ b/api/pl.treksoft.kvision.utils/index.html @@ -46,6 +46,13 @@ <tbody> <tr> <td> +<p><a href="kotlin.-any/index.html">kotlin.Any</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> <p><a href="kotlin.-int/index.html">kotlin.Int</a></p> </td> <td> diff --git a/api/pl.treksoft.kvision.utils/kotlin.-any/create-instance.html b/api/pl.treksoft.kvision.utils/kotlin.-any/create-instance.html new file mode 100644 index 00000000..f9118a2d --- /dev/null +++ b/api/pl.treksoft.kvision.utils/kotlin.-any/create-instance.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>createInstance - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.utils</a> / <a href="index.html">kotlin.Any</a> / <a href="./create-instance.html">createInstance</a><br/> +<br/> +<h1>createInstance</h1> +<a name="pl.treksoft.kvision.utils$createInstance(kotlin.Any, kotlin.Array((kotlin.Any)))"></a> +<code><span class="keyword">inline</span> <span class="keyword">fun </span><span class="symbol"><</span><span class="keyword">reified</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="create-instance.html#T"><span class="identifier">T</span></a></code> +<p>Helper function for creating JavaScript objects from dynamic constructors.</p> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.utils/kotlin.-any/index.html b/api/pl.treksoft.kvision.utils/kotlin.-any/index.html new file mode 100644 index 00000000..ea1e1ca1 --- /dev/null +++ b/api/pl.treksoft.kvision.utils/kotlin.-any/index.html @@ -0,0 +1,25 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>pl.treksoft.kvision.utils.kotlin.Any - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.utils</a> / <a href="./index.html">kotlin.Any</a><br/> +<br/> +<h3>Extensions for kotlin.Any</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="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="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> diff --git a/api/pl.treksoft.kvision.utils/obj.html b/api/pl.treksoft.kvision.utils/obj.html index e5255f56..14faad1d 100644 --- a/api/pl.treksoft.kvision.utils/obj.html +++ b/api/pl.treksoft.kvision.utils/obj.html @@ -9,7 +9,7 @@ <br/> <h1>obj</h1> <a name="pl.treksoft.kvision.utils$obj(kotlin.Function1((kotlin.Any, kotlin.Unit)))"></a> -<code><span class="keyword">fun </span><span class="identifier">obj</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.utils$obj(kotlin.Function1((kotlin.Any, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="keyword">dynamic</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><span class="keyword">dynamic</span></code> +<code><span class="keyword">inline</span> <span class="keyword">fun </span><span class="identifier">obj</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.utils$obj(kotlin.Function1((kotlin.Any, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="keyword">dynamic</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><span class="keyword">dynamic</span></code> <p>Helper function for creating JavaScript objects.</p> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.utils/sn-attrs.html b/api/pl.treksoft.kvision.utils/sn-attrs.html index 90213acd..237573b8 100644 --- a/api/pl.treksoft.kvision.utils/sn-attrs.html +++ b/api/pl.treksoft.kvision.utils/sn-attrs.html @@ -9,7 +9,7 @@ <br/> <h1>snAttrs</h1> <a name="pl.treksoft.kvision.utils$snAttrs(kotlin.collections.List((kotlin.Pair((kotlin.String, )))))"></a> -<code><span class="keyword">fun </span><span class="identifier">snAttrs</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.utils$snAttrs(kotlin.collections.List((kotlin.Pair((kotlin.String, )))))/pairs">pairs</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><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Attrs</span></code> +<code><span class="keyword">inline</span> <span class="keyword">fun </span><span class="identifier">snAttrs</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.utils$snAttrs(kotlin.collections.List((kotlin.Pair((kotlin.String, )))))/pairs">pairs</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><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Attrs</span></code> <p>Helper function for creating attributes parameters for Snabbdom.</p> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.utils/sn-classes.html b/api/pl.treksoft.kvision.utils/sn-classes.html index 67764fc5..3fa4ba54 100644 --- a/api/pl.treksoft.kvision.utils/sn-classes.html +++ b/api/pl.treksoft.kvision.utils/sn-classes.html @@ -9,7 +9,7 @@ <br/> <h1>snClasses</h1> <a name="pl.treksoft.kvision.utils$snClasses(kotlin.collections.List((kotlin.Pair((kotlin.String, kotlin.Boolean)))))"></a> -<code><span class="keyword">fun </span><span class="identifier">snClasses</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.utils$snClasses(kotlin.collections.List((kotlin.Pair((kotlin.String, kotlin.Boolean)))))/pairs">pairs</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><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Classes</span></code> +<code><span class="keyword">inline</span> <span class="keyword">fun </span><span class="identifier">snClasses</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.utils$snClasses(kotlin.collections.List((kotlin.Pair((kotlin.String, kotlin.Boolean)))))/pairs">pairs</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><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Classes</span></code> <p>Helper function for creating classes parameters for Snabbdom.</p> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.utils/sn-opt.html b/api/pl.treksoft.kvision.utils/sn-opt.html index 79eb495b..f9ae5dbc 100644 --- a/api/pl.treksoft.kvision.utils/sn-opt.html +++ b/api/pl.treksoft.kvision.utils/sn-opt.html @@ -9,7 +9,7 @@ <br/> <h1>snOpt</h1> <a name="pl.treksoft.kvision.utils$snOpt(kotlin.Function1((com.github.snabbdom.VNodeData, kotlin.Unit)))"></a> -<code><span class="keyword">fun </span><span class="identifier">snOpt</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.utils$snOpt(kotlin.Function1((com.github.snabbdom.VNodeData, kotlin.Unit)))/block">block</span><span class="symbol">:</span> <span class="identifier">VNodeData</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><span class="identifier">VNodeData</span></code> +<code><span class="keyword">inline</span> <span class="keyword">fun </span><span class="identifier">snOpt</span><span class="symbol">(</span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.utils$snOpt(kotlin.Function1((com.github.snabbdom.VNodeData, kotlin.Unit)))/block">block</span><span class="symbol">:</span> <span class="identifier">VNodeData</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><span class="identifier">VNodeData</span></code> <p>Helper function for creating object parameters for Snabbdom.</p> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.utils/sn-props.html b/api/pl.treksoft.kvision.utils/sn-props.html index 5d484729..43103ee4 100644 --- a/api/pl.treksoft.kvision.utils/sn-props.html +++ b/api/pl.treksoft.kvision.utils/sn-props.html @@ -9,7 +9,7 @@ <br/> <h1>snProps</h1> <a name="pl.treksoft.kvision.utils$snProps(kotlin.collections.List((kotlin.Pair((kotlin.String, )))))"></a> -<code><span class="keyword">fun </span><span class="identifier">snProps</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.utils$snProps(kotlin.collections.List((kotlin.Pair((kotlin.String, )))))/pairs">pairs</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><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Props</span></code> +<code><span class="keyword">inline</span> <span class="keyword">fun </span><span class="identifier">snProps</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.utils$snProps(kotlin.collections.List((kotlin.Pair((kotlin.String, )))))/pairs">pairs</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><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Props</span></code> <p>Helper function for creating properties parameters for Snabbdom.</p> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.utils/sn-style.html b/api/pl.treksoft.kvision.utils/sn-style.html index 842351af..6182fe65 100644 --- a/api/pl.treksoft.kvision.utils/sn-style.html +++ b/api/pl.treksoft.kvision.utils/sn-style.html @@ -9,7 +9,7 @@ <br/> <h1>snStyle</h1> <a name="pl.treksoft.kvision.utils$snStyle(kotlin.collections.List((kotlin.Pair((kotlin.String, )))))"></a> -<code><span class="keyword">fun </span><span class="identifier">snStyle</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.utils$snStyle(kotlin.collections.List((kotlin.Pair((kotlin.String, )))))/pairs">pairs</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><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">VNodeStyle</span></code> +<code><span class="keyword">inline</span> <span class="keyword">fun </span><span class="identifier">snStyle</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.utils$snStyle(kotlin.collections.List((kotlin.Pair((kotlin.String, )))))/pairs">pairs</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><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">VNodeStyle</span></code> <p>Helper function for creating style parameters for Snabbdom.</p> </BODY> </HTML> |