diff options
Diffstat (limited to 'api/pl.treksoft.kvision.utils/index.html')
-rw-r--r-- | api/pl.treksoft.kvision.utils/index.html | 185 |
1 files changed, 185 insertions, 0 deletions
diff --git a/api/pl.treksoft.kvision.utils/index.html b/api/pl.treksoft.kvision.utils/index.html new file mode 100644 index 00000000..407d8a11 --- /dev/null +++ b/api/pl.treksoft.kvision.utils/index.html @@ -0,0 +1,185 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>pl.treksoft.kvision.utils - 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><br/> +<br/> +<h2>Package pl.treksoft.kvision.utils</h2> +<p>Interfaces and helper functions for Snabbdom virtual dom implementation and a few useful extension functions.</p> +<h3>Types</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-j-s-o-n/index.html">JSON</a></p> +</td> +<td> +<code><span class="keyword">object </span><span class="identifier">JSON</span></code></td> +</tr> +<tr> +<td> +<p><a href="-kv-event/index.html">KvEvent</a></p> +</td> +<td> +<code><span class="keyword">class </span><span class="identifier">KvEvent</span> <span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/org.w3c.dom/-custom-event/index.html"><span class="identifier">CustomEvent</span></a></code> +<p>Helper class for defining custom events.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-object/index.html">Object</a></p> +</td> +<td> +<code><span class="keyword">external</span> <span class="keyword">class </span><span class="identifier">Object</span></code> +<p>JavaScript Object type</p> +</td> +</tr> +</tbody> +</table> +<h3>Extensions for External Classes</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="com.lightningkite.kotlin.observable.list.-observable-list/index.html">com.lightningkite.kotlin.observable.list.ObservableList</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="kotlin.-int/index.html">kotlin.Int</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="kotlin.-pair/index.html">kotlin.Pair</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="org.w3c.files.-file/index.html">org.w3c.files.File</a></p> +</td> +<td> +</td> +</tr> +</tbody> +</table> +<h3>Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-e-n-t-e-r_-k-e-y.html">ENTER_KEY</a></p> +</td> +<td> +<code><span class="keyword">const</span> <span class="keyword">val </span><span class="identifier">ENTER_KEY</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>Keycode of the ENTER key.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-e-s-c_-k-e-y.html">ESC_KEY</a></p> +</td> +<td> +<code><span class="keyword">const</span> <span class="keyword">val </span><span class="identifier">ESC_KEY</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>Keycode of the ESC key.</p> +</td> +</tr> +<tr> +<td> +<p><a href="auto.html">auto</a></p> +</td> +<td> +<code><span class="keyword">val </span><span class="identifier">auto</span><span class="symbol">: </span><a href="../pl.treksoft.kvision.core/-css-size.html"><span class="identifier">CssSize</span></a></code> +<p>Helper property to describe CSS auto value.</p> +</td> +</tr> +<tr> +<td> +<p><a href="normal.html">normal</a></p> +</td> +<td> +<code><span class="keyword">val </span><span class="identifier">normal</span><span class="symbol">: </span><a href="../pl.treksoft.kvision.core/-css-size.html"><span class="identifier">CssSize</span></a></code> +<p>Helper property to describe CSS normal value.</p> +</td> +</tr> +</tbody> +</table> +<h3>Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="is-i-e11.html">isIE11</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="identifier">isIE11</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> +<p>Utility function to detect Internet Explorer 11.</p> +</td> +</tr> +<tr> +<td> +<p><a href="obj.html">obj</a></p> +</td> +<td> +<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> +<p>Helper function for creating JavaScript objects.</p> +</td> +</tr> +<tr> +<td> +<p><a href="sn-attrs.html">snAttrs</a></p> +</td> +<td> +<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> +<p>Helper function for creating attributes parameters for Snabbdom.</p> +</td> +</tr> +<tr> +<td> +<p><a href="sn-classes.html">snClasses</a></p> +</td> +<td> +<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> +<p>Helper function for creating classes parameters for Snabbdom.</p> +</td> +</tr> +<tr> +<td> +<p><a href="sn-opt.html">snOpt</a></p> +</td> +<td> +<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> +<p>Helper function for creating object parameters for Snabbdom.</p> +</td> +</tr> +<tr> +<td> +<p><a href="sn-props.html">snProps</a></p> +</td> +<td> +<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> +<p>Helper function for creating properties parameters for Snabbdom.</p> +</td> +</tr> +<tr> +<td> +<p><a href="sn-style.html">snStyle</a></p> +</td> +<td> +<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> +<p>Helper function for creating style parameters for Snabbdom.</p> +</td> +</tr> +</tbody> +</table> +</BODY> +</HTML> |