diff options
author | Robert Jaros <rjaros@finn.pl> | 2019-10-26 00:17:24 +0200 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2019-10-26 00:17:24 +0200 |
commit | fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb (patch) | |
tree | 911c8e9b208b9ba77f00531668d1d99b40fcb8e3 /api1/pl.treksoft.kvision.html | |
parent | 4f5db77ec2db6c87cb93ceb9f7ea9ab311247f17 (diff) | |
download | kvision-fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb.tar.gz kvision-fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb.tar.bz2 kvision-fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb.zip |
API documentation for KVision 2.0.0
Diffstat (limited to 'api1/pl.treksoft.kvision.html')
221 files changed, 10029 insertions, 0 deletions
diff --git a/api1/pl.treksoft.kvision.html/-align/-c-e-n-t-e-r.html b/api1/pl.treksoft.kvision.html/-align/-c-e-n-t-e-r.html new file mode 100644 index 00000000..bdcab44e --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-align/-c-e-n-t-e-r.html @@ -0,0 +1,26 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Align.CENTER - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Align</a> / <a href="./-c-e-n-t-e-r.html">CENTER</a><br/> +<br/> +<h1>CENTER</h1> +<a name="pl.treksoft.kvision.html.Align.CENTER"></a> +<code><span class="identifier">CENTER</span></code> +<h3>Inherited Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="class-name.html">className</a></p> +</td> +<td> +<code><span class="keyword">val </span><span class="identifier">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></code></td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-align/-j-u-s-t-i-f-y.html b/api1/pl.treksoft.kvision.html/-align/-j-u-s-t-i-f-y.html new file mode 100644 index 00000000..cc038aab --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-align/-j-u-s-t-i-f-y.html @@ -0,0 +1,26 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Align.JUSTIFY - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Align</a> / <a href="./-j-u-s-t-i-f-y.html">JUSTIFY</a><br/> +<br/> +<h1>JUSTIFY</h1> +<a name="pl.treksoft.kvision.html.Align.JUSTIFY"></a> +<code><span class="identifier">JUSTIFY</span></code> +<h3>Inherited Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="class-name.html">className</a></p> +</td> +<td> +<code><span class="keyword">val </span><span class="identifier">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></code></td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-align/-l-e-f-t.html b/api1/pl.treksoft.kvision.html/-align/-l-e-f-t.html new file mode 100644 index 00000000..34996ada --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-align/-l-e-f-t.html @@ -0,0 +1,26 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Align.LEFT - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Align</a> / <a href="./-l-e-f-t.html">LEFT</a><br/> +<br/> +<h1>LEFT</h1> +<a name="pl.treksoft.kvision.html.Align.LEFT"></a> +<code><span class="identifier">LEFT</span></code> +<h3>Inherited Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="class-name.html">className</a></p> +</td> +<td> +<code><span class="keyword">val </span><span class="identifier">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></code></td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-align/-n-o-w-r-a-p.html b/api1/pl.treksoft.kvision.html/-align/-n-o-w-r-a-p.html new file mode 100644 index 00000000..684bcfe1 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-align/-n-o-w-r-a-p.html @@ -0,0 +1,26 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Align.NOWRAP - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Align</a> / <a href="./-n-o-w-r-a-p.html">NOWRAP</a><br/> +<br/> +<h1>NOWRAP</h1> +<a name="pl.treksoft.kvision.html.Align.NOWRAP"></a> +<code><span class="identifier">NOWRAP</span></code> +<h3>Inherited Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="class-name.html">className</a></p> +</td> +<td> +<code><span class="keyword">val </span><span class="identifier">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></code></td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-align/-r-i-g-h-t.html b/api1/pl.treksoft.kvision.html/-align/-r-i-g-h-t.html new file mode 100644 index 00000000..d1fb9939 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-align/-r-i-g-h-t.html @@ -0,0 +1,26 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Align.RIGHT - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Align</a> / <a href="./-r-i-g-h-t.html">RIGHT</a><br/> +<br/> +<h1>RIGHT</h1> +<a name="pl.treksoft.kvision.html.Align.RIGHT"></a> +<code><span class="identifier">RIGHT</span></code> +<h3>Inherited Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="class-name.html">className</a></p> +</td> +<td> +<code><span class="keyword">val </span><span class="identifier">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></code></td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-align/class-name.html b/api1/pl.treksoft.kvision.html/-align/class-name.html new file mode 100644 index 00000000..ca68fe46 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-align/class-name.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Align.className - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Align</a> / <a href="./class-name.html">className</a><br/> +<br/> +<h1>className</h1> +<a name="pl.treksoft.kvision.html.Align$className"></a> +<code><span class="keyword">val </span><span class="identifier">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></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-align/index.html b/api1/pl.treksoft.kvision.html/-align/index.html new file mode 100644 index 00000000..b2e8a73f --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-align/index.html @@ -0,0 +1,80 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Align - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="./index.html">Align</a><br/> +<br/> +<h1>Align</h1> +<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">Align</span></code> +<p>CSS align attributes.</p> +<h3>Enum Values</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-l-e-f-t.html">LEFT</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-c-e-n-t-e-r.html">CENTER</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-r-i-g-h-t.html">RIGHT</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-j-u-s-t-i-f-y.html">JUSTIFY</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-n-o-w-r-a-p.html">NOWRAP</a></p> +</td> +<td> +</td> +</tr> +</tbody> +</table> +<h3>Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="class-name.html">className</a></p> +</td> +<td> +<code><span class="keyword">val </span><span class="identifier">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></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> diff --git a/api1/pl.treksoft.kvision.html/-button-size/-l-a-r-g-e.html b/api1/pl.treksoft.kvision.html/-button-size/-l-a-r-g-e.html new file mode 100644 index 00000000..579441a2 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-button-size/-l-a-r-g-e.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>ButtonSize.LARGE - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">ButtonSize</a> / <a href="./-l-a-r-g-e.html">LARGE</a><br/> +<br/> +<h1>LARGE</h1> +<a name="pl.treksoft.kvision.html.ButtonSize.LARGE"></a> +<code><span class="identifier">LARGE</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-button-size/-s-m-a-l-l.html b/api1/pl.treksoft.kvision.html/-button-size/-s-m-a-l-l.html new file mode 100644 index 00000000..c2a12398 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-button-size/-s-m-a-l-l.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>ButtonSize.SMALL - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">ButtonSize</a> / <a href="./-s-m-a-l-l.html">SMALL</a><br/> +<br/> +<h1>SMALL</h1> +<a name="pl.treksoft.kvision.html.ButtonSize.SMALL"></a> +<code><span class="identifier">SMALL</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-button-size/-x-s-m-a-l-l.html b/api1/pl.treksoft.kvision.html/-button-size/-x-s-m-a-l-l.html new file mode 100644 index 00000000..1ae9d409 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-button-size/-x-s-m-a-l-l.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>ButtonSize.XSMALL - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">ButtonSize</a> / <a href="./-x-s-m-a-l-l.html">XSMALL</a><br/> +<br/> +<h1>XSMALL</h1> +<a name="pl.treksoft.kvision.html.ButtonSize.XSMALL"></a> +<code><span class="identifier">XSMALL</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-button-size/index.html b/api1/pl.treksoft.kvision.html/-button-size/index.html new file mode 100644 index 00000000..9401d4fc --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-button-size/index.html @@ -0,0 +1,54 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>ButtonSize - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="./index.html">ButtonSize</a><br/> +<br/> +<h1>ButtonSize</h1> +<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">ButtonSize</span></code> +<p>Button sizes.</p> +<h3>Enum Values</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-l-a-r-g-e.html">LARGE</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-s-m-a-l-l.html">SMALL</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-x-s-m-a-l-l.html">XSMALL</a></p> +</td> +<td> +</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> diff --git a/api1/pl.treksoft.kvision.html/-button-style/-d-a-n-g-e-r.html b/api1/pl.treksoft.kvision.html/-button-style/-d-a-n-g-e-r.html new file mode 100644 index 00000000..670b9a69 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-button-style/-d-a-n-g-e-r.html @@ -0,0 +1,26 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>ButtonStyle.DANGER - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">ButtonStyle</a> / <a href="./-d-a-n-g-e-r.html">DANGER</a><br/> +<br/> +<h1>DANGER</h1> +<a name="pl.treksoft.kvision.html.ButtonStyle.DANGER"></a> +<code><span class="identifier">DANGER</span></code> +<h3>Inherited Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="class-name.html">className</a></p> +</td> +<td> +<code><span class="keyword">val </span><span class="identifier">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></code></td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-button-style/-d-e-f-a-u-l-t.html b/api1/pl.treksoft.kvision.html/-button-style/-d-e-f-a-u-l-t.html new file mode 100644 index 00000000..67f06f9f --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-button-style/-d-e-f-a-u-l-t.html @@ -0,0 +1,26 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>ButtonStyle.DEFAULT - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">ButtonStyle</a> / <a href="./-d-e-f-a-u-l-t.html">DEFAULT</a><br/> +<br/> +<h1>DEFAULT</h1> +<a name="pl.treksoft.kvision.html.ButtonStyle.DEFAULT"></a> +<code><span class="identifier">DEFAULT</span></code> +<h3>Inherited Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="class-name.html">className</a></p> +</td> +<td> +<code><span class="keyword">val </span><span class="identifier">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></code></td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-button-style/-i-n-f-o.html b/api1/pl.treksoft.kvision.html/-button-style/-i-n-f-o.html new file mode 100644 index 00000000..240caa0b --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-button-style/-i-n-f-o.html @@ -0,0 +1,26 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>ButtonStyle.INFO - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">ButtonStyle</a> / <a href="./-i-n-f-o.html">INFO</a><br/> +<br/> +<h1>INFO</h1> +<a name="pl.treksoft.kvision.html.ButtonStyle.INFO"></a> +<code><span class="identifier">INFO</span></code> +<h3>Inherited Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="class-name.html">className</a></p> +</td> +<td> +<code><span class="keyword">val </span><span class="identifier">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></code></td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-button-style/-l-i-n-k.html b/api1/pl.treksoft.kvision.html/-button-style/-l-i-n-k.html new file mode 100644 index 00000000..2f3154b3 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-button-style/-l-i-n-k.html @@ -0,0 +1,26 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>ButtonStyle.LINK - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">ButtonStyle</a> / <a href="./-l-i-n-k.html">LINK</a><br/> +<br/> +<h1>LINK</h1> +<a name="pl.treksoft.kvision.html.ButtonStyle.LINK"></a> +<code><span class="identifier">LINK</span></code> +<h3>Inherited Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="class-name.html">className</a></p> +</td> +<td> +<code><span class="keyword">val </span><span class="identifier">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></code></td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-button-style/-p-r-i-m-a-r-y.html b/api1/pl.treksoft.kvision.html/-button-style/-p-r-i-m-a-r-y.html new file mode 100644 index 00000000..f6c62a82 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-button-style/-p-r-i-m-a-r-y.html @@ -0,0 +1,26 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>ButtonStyle.PRIMARY - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">ButtonStyle</a> / <a href="./-p-r-i-m-a-r-y.html">PRIMARY</a><br/> +<br/> +<h1>PRIMARY</h1> +<a name="pl.treksoft.kvision.html.ButtonStyle.PRIMARY"></a> +<code><span class="identifier">PRIMARY</span></code> +<h3>Inherited Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="class-name.html">className</a></p> +</td> +<td> +<code><span class="keyword">val </span><span class="identifier">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></code></td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-button-style/-s-u-c-c-e-s-s.html b/api1/pl.treksoft.kvision.html/-button-style/-s-u-c-c-e-s-s.html new file mode 100644 index 00000000..fead7ebb --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-button-style/-s-u-c-c-e-s-s.html @@ -0,0 +1,26 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>ButtonStyle.SUCCESS - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">ButtonStyle</a> / <a href="./-s-u-c-c-e-s-s.html">SUCCESS</a><br/> +<br/> +<h1>SUCCESS</h1> +<a name="pl.treksoft.kvision.html.ButtonStyle.SUCCESS"></a> +<code><span class="identifier">SUCCESS</span></code> +<h3>Inherited Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="class-name.html">className</a></p> +</td> +<td> +<code><span class="keyword">val </span><span class="identifier">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></code></td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-button-style/-w-a-r-n-i-n-g.html b/api1/pl.treksoft.kvision.html/-button-style/-w-a-r-n-i-n-g.html new file mode 100644 index 00000000..2b8f45dc --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-button-style/-w-a-r-n-i-n-g.html @@ -0,0 +1,26 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>ButtonStyle.WARNING - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">ButtonStyle</a> / <a href="./-w-a-r-n-i-n-g.html">WARNING</a><br/> +<br/> +<h1>WARNING</h1> +<a name="pl.treksoft.kvision.html.ButtonStyle.WARNING"></a> +<code><span class="identifier">WARNING</span></code> +<h3>Inherited Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="class-name.html">className</a></p> +</td> +<td> +<code><span class="keyword">val </span><span class="identifier">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></code></td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-button-style/class-name.html b/api1/pl.treksoft.kvision.html/-button-style/class-name.html new file mode 100644 index 00000000..23b01ddc --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-button-style/class-name.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>ButtonStyle.className - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">ButtonStyle</a> / <a href="./class-name.html">className</a><br/> +<br/> +<h1>className</h1> +<a name="pl.treksoft.kvision.html.ButtonStyle$className"></a> +<code><span class="keyword">val </span><span class="identifier">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></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-button-style/index.html b/api1/pl.treksoft.kvision.html/-button-style/index.html new file mode 100644 index 00000000..d3e03a81 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-button-style/index.html @@ -0,0 +1,94 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>ButtonStyle - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="./index.html">ButtonStyle</a><br/> +<br/> +<h1>ButtonStyle</h1> +<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">ButtonStyle</span></code> +<p>Button styles.</p> +<h3>Enum Values</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-d-e-f-a-u-l-t.html">DEFAULT</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-p-r-i-m-a-r-y.html">PRIMARY</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-s-u-c-c-e-s-s.html">SUCCESS</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-i-n-f-o.html">INFO</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-w-a-r-n-i-n-g.html">WARNING</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-d-a-n-g-e-r.html">DANGER</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-l-i-n-k.html">LINK</a></p> +</td> +<td> +</td> +</tr> +</tbody> +</table> +<h3>Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="class-name.html">className</a></p> +</td> +<td> +<code><span class="keyword">val </span><span class="identifier">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></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> diff --git a/api1/pl.treksoft.kvision.html/-button-type/-b-u-t-t-o-n.html b/api1/pl.treksoft.kvision.html/-button-type/-b-u-t-t-o-n.html new file mode 100644 index 00000000..4c82579f --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-button-type/-b-u-t-t-o-n.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>ButtonType.BUTTON - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">ButtonType</a> / <a href="./-b-u-t-t-o-n.html">BUTTON</a><br/> +<br/> +<h1>BUTTON</h1> +<a name="pl.treksoft.kvision.html.ButtonType.BUTTON"></a> +<code><span class="identifier">BUTTON</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-button-type/-r-e-s-e-t.html b/api1/pl.treksoft.kvision.html/-button-type/-r-e-s-e-t.html new file mode 100644 index 00000000..5fe96db0 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-button-type/-r-e-s-e-t.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>ButtonType.RESET - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">ButtonType</a> / <a href="./-r-e-s-e-t.html">RESET</a><br/> +<br/> +<h1>RESET</h1> +<a name="pl.treksoft.kvision.html.ButtonType.RESET"></a> +<code><span class="identifier">RESET</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-button-type/-s-u-b-m-i-t.html b/api1/pl.treksoft.kvision.html/-button-type/-s-u-b-m-i-t.html new file mode 100644 index 00000000..ac715940 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-button-type/-s-u-b-m-i-t.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>ButtonType.SUBMIT - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">ButtonType</a> / <a href="./-s-u-b-m-i-t.html">SUBMIT</a><br/> +<br/> +<h1>SUBMIT</h1> +<a name="pl.treksoft.kvision.html.ButtonType.SUBMIT"></a> +<code><span class="identifier">SUBMIT</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-button-type/index.html b/api1/pl.treksoft.kvision.html/-button-type/index.html new file mode 100644 index 00000000..43ce9f34 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-button-type/index.html @@ -0,0 +1,54 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>ButtonType - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="./index.html">ButtonType</a><br/> +<br/> +<h1>ButtonType</h1> +<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">ButtonType</span></code> +<p>Button types.</p> +<h3>Enum Values</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-b-u-t-t-o-n.html">BUTTON</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-s-u-b-m-i-t.html">SUBMIT</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-r-e-s-e-t.html">RESET</a></p> +</td> +<td> +</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> diff --git a/api1/pl.treksoft.kvision.html/-button/-init-.html b/api1/pl.treksoft.kvision.html/-button/-init-.html new file mode 100644 index 00000000..35134291 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-button/-init-.html @@ -0,0 +1,27 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Button.<init> - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Button</a> / <a href="./-init-.html"><init></a><br/> +<br/> +<h1><init></h1> +<a name="pl.treksoft.kvision.html.Button$<init>(kotlin.String, kotlin.String, pl.treksoft.kvision.html.ButtonStyle, pl.treksoft.kvision.html.ButtonType, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))"></a> +<code><span class="identifier">Button</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Button$<init>(kotlin.String, kotlin.String, pl.treksoft.kvision.html.ButtonStyle, pl.treksoft.kvision.html.ButtonType, kotlin.Boolean, kotlin.collections.Set((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="identifier" id="pl.treksoft.kvision.html.Button$<init>(kotlin.String, kotlin.String, pl.treksoft.kvision.html.ButtonStyle, pl.treksoft.kvision.html.ButtonType, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/icon">icon</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.html.Button$<init>(kotlin.String, kotlin.String, pl.treksoft.kvision.html.ButtonStyle, pl.treksoft.kvision.html.ButtonType, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/style">style</span><span class="symbol">:</span> <a href="../-button-style/index.html"><span class="identifier">ButtonStyle</span></a> <span class="symbol">=</span> ButtonStyle.DEFAULT<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Button$<init>(kotlin.String, kotlin.String, pl.treksoft.kvision.html.ButtonStyle, pl.treksoft.kvision.html.ButtonType, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/type">type</span><span class="symbol">:</span> <a href="../-button-type/index.html"><span class="identifier">ButtonType</span></a> <span class="symbol">=</span> ButtonType.BUTTON<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Button$<init>(kotlin.String, kotlin.String, pl.treksoft.kvision.html.ButtonStyle, pl.treksoft.kvision.html.ButtonType, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/disabled">disabled</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.html.Button$<init>(kotlin.String, kotlin.String, pl.treksoft.kvision.html.ButtonStyle, pl.treksoft.kvision.html.ButtonType, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/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></code> +<h3>Parameters</h3> +<p><a name="text"></a> +<code>text</code> - button label</p> +<p><a name="icon"></a> +<code>icon</code> - button icon</p> +<p><a name="style"></a> +<code>style</code> - button style</p> +<p><a name="disabled"></a> +<code>disabled</code> - button state</p> +<p><a name="classes"></a> +<code>classes</code> - a set of CSS class names</p> +<p><strong>Constructor</strong><br/> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-button/block.html b/api1/pl.treksoft.kvision.html/-button/block.html new file mode 100644 index 00000000..dab9f6c3 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-button/block.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Button.block - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Button</a> / <a href="./block.html">block</a><br/> +<br/> +<h1>block</h1> +<a name="pl.treksoft.kvision.html.Button$block"></a> +<code><span class="keyword">var </span><span class="identifier">block</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>Determines if the button takes all the space horizontally.</p> +<p><strong>Getter</strong><br/> +<p>Determines if the button takes all the space horizontally.</p> +</p> +<p><strong>Setter</strong><br/> +<p>Determines if the button takes all the space horizontally.</p> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-button/button.html b/api1/pl.treksoft.kvision.html/-button/button.html new file mode 100644 index 00000000..e48858ba --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-button/button.html @@ -0,0 +1,16 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Button.button - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Button</a> / <a href="./button.html">button</a><br/> +<br/> +<h1>button</h1> +<a name="pl.treksoft.kvision.html.Button.Companion$button(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.html.ButtonStyle, pl.treksoft.kvision.html.ButtonType, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Button, kotlin.Unit)))"></a> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">button</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Button.Companion$button(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.html.ButtonStyle, pl.treksoft.kvision.html.ButtonType, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Button, kotlin.Unit)))/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="identifier" id="pl.treksoft.kvision.html.Button.Companion$button(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.html.ButtonStyle, pl.treksoft.kvision.html.ButtonType, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Button, kotlin.Unit)))/icon">icon</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.html.Button.Companion$button(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.html.ButtonStyle, pl.treksoft.kvision.html.ButtonType, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Button, kotlin.Unit)))/style">style</span><span class="symbol">:</span> <a href="../-button-style/index.html"><span class="identifier">ButtonStyle</span></a> <span class="symbol">=</span> ButtonStyle.DEFAULT<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Button.Companion$button(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.html.ButtonStyle, pl.treksoft.kvision.html.ButtonType, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Button, kotlin.Unit)))/type">type</span><span class="symbol">:</span> <a href="../-button-type/index.html"><span class="identifier">ButtonType</span></a> <span class="symbol">=</span> ButtonType.BUTTON<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Button.Companion$button(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.html.ButtonStyle, pl.treksoft.kvision.html.ButtonType, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Button, kotlin.Unit)))/disabled">disabled</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.html.Button.Companion$button(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.html.ButtonStyle, pl.treksoft.kvision.html.ButtonType, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Button, 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.html.Button.Companion$button(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.html.ButtonStyle, pl.treksoft.kvision.html.ButtonType, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Button, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html"><span class="identifier">Button</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="index.html"><span class="identifier">Button</span></a></code> +<p>DSL builder extension function.</p> +<p>It takes the same parameters as the constructor of the built component.</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-button/disabled.html b/api1/pl.treksoft.kvision.html/-button/disabled.html new file mode 100644 index 00000000..6f924849 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-button/disabled.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Button.disabled - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Button</a> / <a href="./disabled.html">disabled</a><br/> +<br/> +<h1>disabled</h1> +<a name="pl.treksoft.kvision.html.Button$disabled"></a> +<code><span class="keyword">var </span><span class="identifier">disabled</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>Determines if button is disabled.</p> +<p><strong>Getter</strong><br/> +<p>Determines if button is disabled.</p> +</p> +<p><strong>Setter</strong><br/> +<p>Determines if button is disabled.</p> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-button/get-sn-attrs.html b/api1/pl.treksoft.kvision.html/-button/get-sn-attrs.html new file mode 100644 index 00000000..0c2ad719 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-button/get-sn-attrs.html @@ -0,0 +1,18 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Button.getSnAttrs - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Button</a> / <a href="./get-sn-attrs.html">getSnAttrs</a><br/> +<br/> +<h1>getSnAttrs</h1> +<a name="pl.treksoft.kvision.html.Button$getSnAttrs()"></a> +<code><span class="keyword">protected</span> <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>Overrides <a href="../../pl.treksoft.kvision.core/-widget/get-sn-attrs.html">Widget.getSnAttrs</a></p> +<p>Returns list of element attributes in the form of a List.</p> +<p><strong>Return</strong><br/> +list of element attributes</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-button/get-sn-class.html b/api1/pl.treksoft.kvision.html/-button/get-sn-class.html new file mode 100644 index 00000000..b5d8f779 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-button/get-sn-class.html @@ -0,0 +1,18 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Button.getSnClass - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Button</a> / <a href="./get-sn-class.html">getSnClass</a><br/> +<br/> +<h1>getSnClass</h1> +<a name="pl.treksoft.kvision.html.Button$getSnClass()"></a> +<code><span class="keyword">protected</span> <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>Overrides <a href="../../pl.treksoft.kvision.core/-widget/get-sn-class.html">Widget.getSnClass</a></p> +<p>Returns list of CSS class names for current widget in the form of a List.</p> +<p><strong>Return</strong><br/> +list of CSS class names</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-button/icon.html b/api1/pl.treksoft.kvision.html/-button/icon.html new file mode 100644 index 00000000..12fe9900 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-button/icon.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Button.icon - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Button</a> / <a href="./icon.html">icon</a><br/> +<br/> +<h1>icon</h1> +<a name="pl.treksoft.kvision.html.Button$icon"></a> +<code><span class="keyword">var </span><span class="identifier">icon</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>Button icon.</p> +<p><strong>Getter</strong><br/> +<p>Button icon.</p> +</p> +<p><strong>Setter</strong><br/> +<p>Button icon.</p> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-button/image.html b/api1/pl.treksoft.kvision.html/-button/image.html new file mode 100644 index 00000000..cdd1a4f2 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-button/image.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Button.image - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Button</a> / <a href="./image.html">image</a><br/> +<br/> +<h1>image</h1> +<a name="pl.treksoft.kvision.html.Button$image"></a> +<code><span class="keyword">var </span><span class="identifier">image</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-res-string.html"><span class="identifier">ResString</span></a><span class="symbol">?</span></code> +<p>Button image.</p> +<p><strong>Getter</strong><br/> +<p>Button image.</p> +</p> +<p><strong>Setter</strong><br/> +<p>Button image.</p> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-button/index.html b/api1/pl.treksoft.kvision.html/-button/index.html new file mode 100644 index 00000000..715a4418 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-button/index.html @@ -0,0 +1,625 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Button - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="./index.html">Button</a><br/> +<br/> +<h1>Button</h1> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Button</span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Button component.</p> +<h3>Constructors</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-init-.html"><init></a></p> +</td> +<td> +<code><span class="identifier">Button</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Button$<init>(kotlin.String, kotlin.String, pl.treksoft.kvision.html.ButtonStyle, pl.treksoft.kvision.html.ButtonType, kotlin.Boolean, kotlin.collections.Set((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="identifier" id="pl.treksoft.kvision.html.Button$<init>(kotlin.String, kotlin.String, pl.treksoft.kvision.html.ButtonStyle, pl.treksoft.kvision.html.ButtonType, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/icon">icon</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.html.Button$<init>(kotlin.String, kotlin.String, pl.treksoft.kvision.html.ButtonStyle, pl.treksoft.kvision.html.ButtonType, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/style">style</span><span class="symbol">:</span> <a href="../-button-style/index.html"><span class="identifier">ButtonStyle</span></a> <span class="symbol">=</span> ButtonStyle.DEFAULT<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Button$<init>(kotlin.String, kotlin.String, pl.treksoft.kvision.html.ButtonStyle, pl.treksoft.kvision.html.ButtonType, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/type">type</span><span class="symbol">:</span> <a href="../-button-type/index.html"><span class="identifier">ButtonType</span></a> <span class="symbol">=</span> ButtonType.BUTTON<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Button$<init>(kotlin.String, kotlin.String, pl.treksoft.kvision.html.ButtonStyle, pl.treksoft.kvision.html.ButtonType, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/disabled">disabled</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.html.Button$<init>(kotlin.String, kotlin.String, pl.treksoft.kvision.html.ButtonStyle, pl.treksoft.kvision.html.ButtonType, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/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></code></td> +</tr> +</tbody> +</table> +<h3>Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="block.html">block</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">block</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>Determines if the button takes all the space horizontally.</p> +</td> +</tr> +<tr> +<td> +<p><a href="disabled.html">disabled</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">disabled</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>Determines if button is disabled.</p> +</td> +</tr> +<tr> +<td> +<p><a href="icon.html">icon</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">icon</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>Button icon.</p> +</td> +</tr> +<tr> +<td> +<p><a href="image.html">image</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">image</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-res-string.html"><span class="identifier">ResString</span></a><span class="symbol">?</span></code> +<p>Button image.</p> +</td> +</tr> +<tr> +<td> +<p><a href="size.html">size</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">size</span><span class="symbol">: </span><a href="../-button-size/index.html"><span class="identifier">ButtonSize</span></a><span class="symbol">?</span></code> +<p>Button size.</p> +</td> +</tr> +<tr> +<td> +<p><a href="style.html">style</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">style</span><span class="symbol">: </span><a href="../-button-style/index.html"><span class="identifier">ButtonStyle</span></a></code> +<p>Button style.</p> +</td> +</tr> +<tr> +<td> +<p><a href="text.html">text</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">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></code> +<p>Button label.</p> +</td> +</tr> +<tr> +<td> +<p><a href="type.html">type</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">type</span><span class="symbol">: </span><a href="../-button-type/index.html"><span class="identifier">ButtonType</span></a></code> +<p>Button types.</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/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> +</tr> +</tbody> +</table> +<h3>Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="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="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="on-click.html">onClick</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">onClick</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Button$onClick(kotlin.Function2((pl.treksoft.kvision.html.Button, org.w3c.dom.events.MouseEvent, kotlin.Unit)))/handler">handler</span><span class="symbol">:</span> <a href="./index.html"><span class="identifier">Button</span></a><span class="symbol">.</span><span class="symbol">(</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/org.w3c.dom.events/-mouse-event/index.html"><span class="identifier">MouseEvent</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="./index.html"><span class="identifier">Button</span></a></code> +<p>A convenient helper for easy setting onClick event handler.</p> +</td> +</tr> +<tr> +<td> +<p><a href="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> +<p>Renders current component as a Snabbdom vnode.</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> +<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(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> +<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(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-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> +<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(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-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> +<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(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="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-context-menu.html">setContextMenu</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">setContextMenu</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$setContextMenu(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> +</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="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Sets an event listener for current widget, keeping the actual type of component.</p> +<code><span class="keyword">open</span> <span class="keyword">fun </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)), 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/index.html"><span class="identifier">Widget</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="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Sets an event listener for current widget.</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> +</tr> +</tbody> +</table> +<h3>Companion Object Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="button.html">button</a></p> +</td> +<td> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">button</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Button.Companion$button(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.html.ButtonStyle, pl.treksoft.kvision.html.ButtonType, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Button, kotlin.Unit)))/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="identifier" id="pl.treksoft.kvision.html.Button.Companion$button(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.html.ButtonStyle, pl.treksoft.kvision.html.ButtonType, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Button, kotlin.Unit)))/icon">icon</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.html.Button.Companion$button(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.html.ButtonStyle, pl.treksoft.kvision.html.ButtonType, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Button, kotlin.Unit)))/style">style</span><span class="symbol">:</span> <a href="../-button-style/index.html"><span class="identifier">ButtonStyle</span></a> <span class="symbol">=</span> ButtonStyle.DEFAULT<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Button.Companion$button(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.html.ButtonStyle, pl.treksoft.kvision.html.ButtonType, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Button, kotlin.Unit)))/type">type</span><span class="symbol">:</span> <a href="../-button-type/index.html"><span class="identifier">ButtonType</span></a> <span class="symbol">=</span> ButtonType.BUTTON<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Button.Companion$button(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.html.ButtonStyle, pl.treksoft.kvision.html.ButtonType, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Button, kotlin.Unit)))/disabled">disabled</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.html.Button.Companion$button(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.html.ButtonStyle, pl.treksoft.kvision.html.ButtonType, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Button, 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.html.Button.Companion$button(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.html.ButtonStyle, pl.treksoft.kvision.html.ButtonType, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Button, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="./index.html"><span class="identifier">Button</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="./index.html"><span class="identifier">Button</span></a></code> +<p>DSL builder extension function.</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> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-button/on-click.html b/api1/pl.treksoft.kvision.html/-button/on-click.html new file mode 100644 index 00000000..ca692506 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-button/on-click.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Button.onClick - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Button</a> / <a href="./on-click.html">onClick</a><br/> +<br/> +<h1>onClick</h1> +<a name="pl.treksoft.kvision.html.Button$onClick(kotlin.Function2((pl.treksoft.kvision.html.Button, org.w3c.dom.events.MouseEvent, kotlin.Unit)))"></a> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">onClick</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Button$onClick(kotlin.Function2((pl.treksoft.kvision.html.Button, org.w3c.dom.events.MouseEvent, kotlin.Unit)))/handler">handler</span><span class="symbol">:</span> <a href="index.html"><span class="identifier">Button</span></a><span class="symbol">.</span><span class="symbol">(</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/org.w3c.dom.events/-mouse-event/index.html"><span class="identifier">MouseEvent</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="index.html"><span class="identifier">Button</span></a></code> +<p>A convenient helper for easy setting onClick event handler.</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-button/render.html b/api1/pl.treksoft.kvision.html/-button/render.html new file mode 100644 index 00000000..1e23270e --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-button/render.html @@ -0,0 +1,18 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Button.render - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Button</a> / <a href="./render.html">render</a><br/> +<br/> +<h1>render</h1> +<a name="pl.treksoft.kvision.html.Button$render()"></a> +<code><span class="keyword">protected</span> <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> +<p>Overrides <a href="../../pl.treksoft.kvision.core/-widget/render.html">Widget.render</a></p> +<p>Renders current component as a Snabbdom vnode.</p> +<p><strong>Return</strong><br/> +Snabbdom vnode</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-button/size.html b/api1/pl.treksoft.kvision.html/-button/size.html new file mode 100644 index 00000000..1e7dd9e0 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-button/size.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Button.size - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Button</a> / <a href="./size.html">size</a><br/> +<br/> +<h1>size</h1> +<a name="pl.treksoft.kvision.html.Button$size"></a> +<code><span class="keyword">var </span><span class="identifier">size</span><span class="symbol">: </span><a href="../-button-size/index.html"><span class="identifier">ButtonSize</span></a><span class="symbol">?</span></code> +<p>Button size.</p> +<p><strong>Getter</strong><br/> +<p>Button size.</p> +</p> +<p><strong>Setter</strong><br/> +<p>Button size.</p> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-button/style.html b/api1/pl.treksoft.kvision.html/-button/style.html new file mode 100644 index 00000000..53caf7b6 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-button/style.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Button.style - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Button</a> / <a href="./style.html">style</a><br/> +<br/> +<h1>style</h1> +<a name="pl.treksoft.kvision.html.Button$style"></a> +<code><span class="keyword">var </span><span class="identifier">style</span><span class="symbol">: </span><a href="../-button-style/index.html"><span class="identifier">ButtonStyle</span></a></code> +<p>Button style.</p> +<p><strong>Getter</strong><br/> +<p>Button style.</p> +</p> +<p><strong>Setter</strong><br/> +<p>Button style.</p> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-button/text.html b/api1/pl.treksoft.kvision.html/-button/text.html new file mode 100644 index 00000000..6c2324b2 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-button/text.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Button.text - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Button</a> / <a href="./text.html">text</a><br/> +<br/> +<h1>text</h1> +<a name="pl.treksoft.kvision.html.Button$text"></a> +<code><span class="keyword">var </span><span class="identifier">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></code> +<p>Button label.</p> +<p><strong>Getter</strong><br/> +<p>Button label.</p> +</p> +<p><strong>Setter</strong><br/> +<p>Button label.</p> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-button/type.html b/api1/pl.treksoft.kvision.html/-button/type.html new file mode 100644 index 00000000..697f0c9f --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-button/type.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Button.type - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Button</a> / <a href="./type.html">type</a><br/> +<br/> +<h1>type</h1> +<a name="pl.treksoft.kvision.html.Button$type"></a> +<code><span class="keyword">var </span><span class="identifier">type</span><span class="symbol">: </span><a href="../-button-type/index.html"><span class="identifier">ButtonType</span></a></code> +<p>Button types.</p> +<p><strong>Getter</strong><br/> +<p>Button types.</p> +</p> +<p><strong>Setter</strong><br/> +<p>Button types.</p> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-canvas/-init-.html b/api1/pl.treksoft.kvision.html/-canvas/-init-.html new file mode 100644 index 00000000..7cae50d1 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-canvas/-init-.html @@ -0,0 +1,23 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Canvas.<init> - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Canvas</a> / <a href="./-init-.html"><init></a><br/> +<br/> +<h1><init></h1> +<a name="pl.treksoft.kvision.html.Canvas$<init>(kotlin.Int, kotlin.Int, kotlin.collections.Set((kotlin.String)))"></a> +<code><span class="identifier">Canvas</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Canvas$<init>(kotlin.Int, kotlin.Int, kotlin.collections.Set((kotlin.String)))/canvasWidth">canvasWidth</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> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Canvas$<init>(kotlin.Int, kotlin.Int, kotlin.collections.Set((kotlin.String)))/canvasHeight">canvasHeight</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> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Canvas$<init>(kotlin.Int, kotlin.Int, kotlin.collections.Set((kotlin.String)))/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></code> +<h3>Parameters</h3> +<p><a name="canvasWidth"></a> +<code>canvasWidth</code> - the width of the canvas</p> +<p><a name="canvasHeight"></a> +<code>canvasHeight</code> - the height of the canvas</p> +<p><a name="classes"></a> +<code>classes</code> - a set of CSS class names</p> +<p><strong>Constructor</strong><br/> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-canvas/canvas-height.html b/api1/pl.treksoft.kvision.html/-canvas/canvas-height.html new file mode 100644 index 00000000..bccfc42d --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-canvas/canvas-height.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Canvas.canvasHeight - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Canvas</a> / <a href="./canvas-height.html">canvasHeight</a><br/> +<br/> +<h1>canvasHeight</h1> +<a name="pl.treksoft.kvision.html.Canvas$canvasHeight"></a> +<code><span class="keyword">var </span><span class="identifier">canvasHeight</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>The height of the canvas.</p> +<p><strong>Getter</strong><br/> +<p>The height of the canvas.</p> +</p> +<p><strong>Setter</strong><br/> +<p>The height of the canvas.</p> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-canvas/canvas-width.html b/api1/pl.treksoft.kvision.html/-canvas/canvas-width.html new file mode 100644 index 00000000..741c8362 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-canvas/canvas-width.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Canvas.canvasWidth - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Canvas</a> / <a href="./canvas-width.html">canvasWidth</a><br/> +<br/> +<h1>canvasWidth</h1> +<a name="pl.treksoft.kvision.html.Canvas$canvasWidth"></a> +<code><span class="keyword">var </span><span class="identifier">canvasWidth</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>The width of the canvas.</p> +<p><strong>Getter</strong><br/> +<p>The width of the canvas.</p> +</p> +<p><strong>Setter</strong><br/> +<p>The width of the canvas.</p> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-canvas/canvas.html b/api1/pl.treksoft.kvision.html/-canvas/canvas.html new file mode 100644 index 00000000..cb9c0ce8 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-canvas/canvas.html @@ -0,0 +1,16 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Canvas.canvas - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Canvas</a> / <a href="./canvas.html">canvas</a><br/> +<br/> +<h1>canvas</h1> +<a name="pl.treksoft.kvision.html.Canvas.Companion$canvas(pl.treksoft.kvision.core.Container, kotlin.Int, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Canvas, kotlin.Unit)))"></a> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">canvas</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Canvas.Companion$canvas(pl.treksoft.kvision.core.Container, kotlin.Int, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Canvas, kotlin.Unit)))/canvasWidth">canvasWidth</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> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Canvas.Companion$canvas(pl.treksoft.kvision.core.Container, kotlin.Int, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Canvas, kotlin.Unit)))/canvasHeight">canvasHeight</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> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Canvas.Companion$canvas(pl.treksoft.kvision.core.Container, kotlin.Int, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Canvas, 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.html.Canvas.Companion$canvas(pl.treksoft.kvision.core.Container, kotlin.Int, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Canvas, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html"><span class="identifier">Canvas</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="index.html"><span class="identifier">Canvas</span></a></code> +<p>DSL builder extension function.</p> +<p>It takes the same parameters as the constructor of the built component.</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-canvas/context2-d.html b/api1/pl.treksoft.kvision.html/-canvas/context2-d.html new file mode 100644 index 00000000..9d85da89 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-canvas/context2-d.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Canvas.context2D - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Canvas</a> / <a href="./context2-d.html">context2D</a><br/> +<br/> +<h1>context2D</h1> +<a name="pl.treksoft.kvision.html.Canvas$context2D"></a> +<code><span class="keyword">lateinit</span> <span class="keyword">var </span><span class="identifier">context2D</span><span class="symbol">: </span><span class="identifier"><ERROR CLASS></span></code> +<p>The canvas rendering context.</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-canvas/get-sn-attrs.html b/api1/pl.treksoft.kvision.html/-canvas/get-sn-attrs.html new file mode 100644 index 00000000..f4b23558 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-canvas/get-sn-attrs.html @@ -0,0 +1,18 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Canvas.getSnAttrs - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Canvas</a> / <a href="./get-sn-attrs.html">getSnAttrs</a><br/> +<br/> +<h1>getSnAttrs</h1> +<a name="pl.treksoft.kvision.html.Canvas$getSnAttrs()"></a> +<code><span class="keyword">protected</span> <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>Overrides <a href="../../pl.treksoft.kvision.core/-widget/get-sn-attrs.html">Widget.getSnAttrs</a></p> +<p>Returns list of element attributes in the form of a List.</p> +<p><strong>Return</strong><br/> +list of element attributes</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-canvas/index.html b/api1/pl.treksoft.kvision.html/-canvas/index.html new file mode 100644 index 00000000..81c52019 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-canvas/index.html @@ -0,0 +1,571 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Canvas - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="./index.html">Canvas</a><br/> +<br/> +<h1>Canvas</h1> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Canvas</span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Canvas component.</p> +<h3>Constructors</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-init-.html"><init></a></p> +</td> +<td> +<code><span class="identifier">Canvas</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Canvas$<init>(kotlin.Int, kotlin.Int, kotlin.collections.Set((kotlin.String)))/canvasWidth">canvasWidth</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> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Canvas$<init>(kotlin.Int, kotlin.Int, kotlin.collections.Set((kotlin.String)))/canvasHeight">canvasHeight</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> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Canvas$<init>(kotlin.Int, kotlin.Int, kotlin.collections.Set((kotlin.String)))/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></code></td> +</tr> +</tbody> +</table> +<h3>Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="canvas-height.html">canvasHeight</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">canvasHeight</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>The height of the canvas.</p> +</td> +</tr> +<tr> +<td> +<p><a href="canvas-width.html">canvasWidth</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">canvasWidth</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>The width of the canvas.</p> +</td> +</tr> +<tr> +<td> +<p><a href="context2-d.html">context2D</a></p> +</td> +<td> +<code><span class="keyword">lateinit</span> <span class="keyword">var </span><span class="identifier">context2D</span><span class="symbol">: </span><span class="identifier"><ERROR CLASS></span></code> +<p>The canvas rendering context.</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/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> +</tr> +</tbody> +</table> +<h3>Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="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="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> +<p>Renders current component as a Snabbdom vnode.</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> +<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(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> +<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(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-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> +<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(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-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> +<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(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="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-context-menu.html">setContextMenu</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">setContextMenu</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$setContextMenu(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> +</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="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Sets an event listener for current widget, keeping the actual type of component.</p> +<code><span class="keyword">open</span> <span class="keyword">fun </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)), 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/index.html"><span class="identifier">Widget</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="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Sets an event listener for current widget.</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> +</tr> +</tbody> +</table> +<h3>Companion Object Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="canvas.html">canvas</a></p> +</td> +<td> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">canvas</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Canvas.Companion$canvas(pl.treksoft.kvision.core.Container, kotlin.Int, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Canvas, kotlin.Unit)))/canvasWidth">canvasWidth</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> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Canvas.Companion$canvas(pl.treksoft.kvision.core.Container, kotlin.Int, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Canvas, kotlin.Unit)))/canvasHeight">canvasHeight</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> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Canvas.Companion$canvas(pl.treksoft.kvision.core.Container, kotlin.Int, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Canvas, 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.html.Canvas.Companion$canvas(pl.treksoft.kvision.core.Container, kotlin.Int, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Canvas, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="./index.html"><span class="identifier">Canvas</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="./index.html"><span class="identifier">Canvas</span></a></code> +<p>DSL builder extension function.</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> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-canvas/render.html b/api1/pl.treksoft.kvision.html/-canvas/render.html new file mode 100644 index 00000000..8aea9910 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-canvas/render.html @@ -0,0 +1,18 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Canvas.render - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Canvas</a> / <a href="./render.html">render</a><br/> +<br/> +<h1>render</h1> +<a name="pl.treksoft.kvision.html.Canvas$render()"></a> +<code><span class="keyword">protected</span> <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> +<p>Overrides <a href="../../pl.treksoft.kvision.core/-widget/render.html">Widget.render</a></p> +<p>Renders current component as a Snabbdom vnode.</p> +<p><strong>Return</strong><br/> +Snabbdom vnode</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-div/-init-.html b/api1/pl.treksoft.kvision.html/-div/-init-.html new file mode 100644 index 00000000..c75b0295 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-div/-init-.html @@ -0,0 +1,27 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Div.<init> - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Div</a> / <a href="./-init-.html"><init></a><br/> +<br/> +<h1><init></h1> +<a name="pl.treksoft.kvision.html.Div$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Div, kotlin.Unit)))"></a> +<code><span class="identifier">Div</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Div$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Div, kotlin.Unit)))/content">content</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.html.Div$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Div, kotlin.Unit)))/rich">rich</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.html.Div$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Div, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Div$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Div, 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.html.Div$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Div, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html"><span class="identifier">Div</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></code> +<h3>Parameters</h3> +<p><a name="content"></a> +<code>content</code> - element text</p> +<p><a name="rich"></a> +<code>rich</code> - determines if <a href="../-tag/content.html">content</a> can contain HTML code</p> +<p><a name="align"></a> +<code>align</code> - content align</p> +<p><a name="classes"></a> +<code>classes</code> - a set of CSS class names</p> +<p><a name="init"></a> +<code>init</code> - an initializer extension function</p> +<p><strong>Constructor</strong><br/> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-div/div.html b/api1/pl.treksoft.kvision.html/-div/div.html new file mode 100644 index 00000000..620d5de6 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-div/div.html @@ -0,0 +1,16 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Div.div - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Div</a> / <a href="./div.html">div</a><br/> +<br/> +<h1>div</h1> +<a name="pl.treksoft.kvision.html.Div.Companion$div(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Div, kotlin.Unit)))"></a> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">div</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Div.Companion$div(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Div, kotlin.Unit)))/content">content</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.html.Div.Companion$div(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Div, kotlin.Unit)))/rich">rich</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.html.Div.Companion$div(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Div, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Div.Companion$div(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Div, 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.html.Div.Companion$div(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Div, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html"><span class="identifier">Div</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="index.html"><span class="identifier">Div</span></a></code> +<p>DSL builder extension function.</p> +<p>It takes the same parameters as the constructor of the built component.</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-div/index.html b/api1/pl.treksoft.kvision.html/-div/index.html new file mode 100644 index 00000000..b05c8ff9 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-div/index.html @@ -0,0 +1,153 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Div - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="./index.html">Div</a><br/> +<br/> +<h1>Div</h1> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Div</span> <span class="symbol">:</span> <a href="../-tag/index.html"><span class="identifier">Tag</span></a></code> +<p>Simple component rendered as <em>div</em>.</p> +<h3>Constructors</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-init-.html"><init></a></p> +</td> +<td> +<code><span class="identifier">Div</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Div$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Div, kotlin.Unit)))/content">content</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.html.Div$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Div, kotlin.Unit)))/rich">rich</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.html.Div$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Div, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Div$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Div, 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.html.Div$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Div, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="./index.html"><span class="identifier">Div</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></code></td> +</tr> +</tbody> +</table> +<h3>Inherited Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../-tag/align.html">align</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">align</span><span class="symbol">: </span><a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span></code> +<p>Text align.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/content.html">content</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">content</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>Text content of the tag.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/rich.html">rich</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">rich</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>Determines if <a href="../-tag/content.html">content</a> can contain HTML code.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/template.html">template</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">template</span><span class="symbol">: </span><span class="symbol">(</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="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></code> +<p>Handlebars template.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/templates.html">templates</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">templates</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html"><span class="identifier">Map</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><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="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>Handlebars templates for i18n.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/type.html">type</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">type</span><span class="symbol">: </span><a href="../-t-a-g/index.html"><span class="identifier">TAG</span></a></code> +<p>Tag type.</p> +</td> +</tr> +</tbody> +</table> +<h3>Inherited Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../-tag/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="../-tag/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> +<p>Renders current component as a Snabbdom vnode.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/unary-plus.html">unaryPlus</a></p> +</td> +<td> +<code><span class="keyword">operator</span> <span class="keyword">fun </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">unaryPlus</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> +<h3>Companion Object Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="div.html">div</a></p> +</td> +<td> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">div</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Div.Companion$div(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Div, kotlin.Unit)))/content">content</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.html.Div.Companion$div(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Div, kotlin.Unit)))/rich">rich</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.html.Div.Companion$div(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Div, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Div.Companion$div(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Div, 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.html.Div.Companion$div(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Div, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="./index.html"><span class="identifier">Div</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="./index.html"><span class="identifier">Div</span></a></code> +<p>DSL builder extension function.</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="../set-data.html">setData</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">K</span><span class="symbol">></span> <a href="../-template/index.html"><span class="identifier">Template</span></a><span class="symbol">.</span><span class="identifier">setData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.html.setData.K)))/obj">obj</span><span class="symbol">:</span> <a href="../set-data.html#K"><span class="identifier">K</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.html.setData.K)))/serializer">serializer</span><span class="symbol">:</span> <span class="identifier">SerializationStrategy</span><span class="symbol"><</span><a href="../set-data.html#K"><span class="identifier">K</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><br/> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">K</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> <a href="../-template/index.html"><span class="identifier">Template</span></a><span class="symbol">.</span><span class="identifier">setData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K)/obj">obj</span><span class="symbol">:</span> <a href="../set-data.html#K"><span class="identifier">K</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>Extension function to set serializable object as a template data.</p> +</td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-footer/-init-.html b/api1/pl.treksoft.kvision.html/-footer/-init-.html new file mode 100644 index 00000000..9db91195 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-footer/-init-.html @@ -0,0 +1,27 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Footer.<init> - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Footer</a> / <a href="./-init-.html"><init></a><br/> +<br/> +<h1><init></h1> +<a name="pl.treksoft.kvision.html.Footer$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Footer, kotlin.Unit)))"></a> +<code><span class="identifier">Footer</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Footer$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Footer, kotlin.Unit)))/content">content</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.html.Footer$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Footer, kotlin.Unit)))/rich">rich</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.html.Footer$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Footer, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Footer$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Footer, 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.html.Footer$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Footer, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html"><span class="identifier">Footer</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></code> +<h3>Parameters</h3> +<p><a name="content"></a> +<code>content</code> - element text</p> +<p><a name="rich"></a> +<code>rich</code> - determines if <a href="../-tag/content.html">content</a> can contain HTML code</p> +<p><a name="align"></a> +<code>align</code> - content align</p> +<p><a name="classes"></a> +<code>classes</code> - a set of CSS class names</p> +<p><a name="init"></a> +<code>init</code> - an initializer extension function</p> +<p><strong>Constructor</strong><br/> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-footer/footer.html b/api1/pl.treksoft.kvision.html/-footer/footer.html new file mode 100644 index 00000000..38a80976 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-footer/footer.html @@ -0,0 +1,16 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Footer.footer - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Footer</a> / <a href="./footer.html">footer</a><br/> +<br/> +<h1>footer</h1> +<a name="pl.treksoft.kvision.html.Footer.Companion$footer(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Footer, kotlin.Unit)))"></a> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">footer</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Footer.Companion$footer(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Footer, kotlin.Unit)))/content">content</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.html.Footer.Companion$footer(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Footer, kotlin.Unit)))/rich">rich</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.html.Footer.Companion$footer(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Footer, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Footer.Companion$footer(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Footer, 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.html.Footer.Companion$footer(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Footer, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html"><span class="identifier">Footer</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="index.html"><span class="identifier">Footer</span></a></code> +<p>DSL builder extension function.</p> +<p>It takes the same parameters as the constructor of the built component.</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-footer/index.html b/api1/pl.treksoft.kvision.html/-footer/index.html new file mode 100644 index 00000000..60d8029c --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-footer/index.html @@ -0,0 +1,153 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Footer - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="./index.html">Footer</a><br/> +<br/> +<h1>Footer</h1> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Footer</span> <span class="symbol">:</span> <a href="../-tag/index.html"><span class="identifier">Tag</span></a></code> +<p>Simple component rendered as <em>footer</em>.</p> +<h3>Constructors</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-init-.html"><init></a></p> +</td> +<td> +<code><span class="identifier">Footer</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Footer$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Footer, kotlin.Unit)))/content">content</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.html.Footer$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Footer, kotlin.Unit)))/rich">rich</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.html.Footer$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Footer, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Footer$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Footer, 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.html.Footer$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Footer, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="./index.html"><span class="identifier">Footer</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></code></td> +</tr> +</tbody> +</table> +<h3>Inherited Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../-tag/align.html">align</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">align</span><span class="symbol">: </span><a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span></code> +<p>Text align.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/content.html">content</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">content</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>Text content of the tag.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/rich.html">rich</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">rich</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>Determines if <a href="../-tag/content.html">content</a> can contain HTML code.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/template.html">template</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">template</span><span class="symbol">: </span><span class="symbol">(</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="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></code> +<p>Handlebars template.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/templates.html">templates</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">templates</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html"><span class="identifier">Map</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><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="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>Handlebars templates for i18n.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/type.html">type</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">type</span><span class="symbol">: </span><a href="../-t-a-g/index.html"><span class="identifier">TAG</span></a></code> +<p>Tag type.</p> +</td> +</tr> +</tbody> +</table> +<h3>Inherited Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../-tag/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="../-tag/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> +<p>Renders current component as a Snabbdom vnode.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/unary-plus.html">unaryPlus</a></p> +</td> +<td> +<code><span class="keyword">operator</span> <span class="keyword">fun </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">unaryPlus</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> +<h3>Companion Object Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="footer.html">footer</a></p> +</td> +<td> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">footer</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Footer.Companion$footer(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Footer, kotlin.Unit)))/content">content</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.html.Footer.Companion$footer(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Footer, kotlin.Unit)))/rich">rich</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.html.Footer.Companion$footer(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Footer, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Footer.Companion$footer(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Footer, 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.html.Footer.Companion$footer(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Footer, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="./index.html"><span class="identifier">Footer</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="./index.html"><span class="identifier">Footer</span></a></code> +<p>DSL builder extension function.</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="../set-data.html">setData</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">K</span><span class="symbol">></span> <a href="../-template/index.html"><span class="identifier">Template</span></a><span class="symbol">.</span><span class="identifier">setData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.html.setData.K)))/obj">obj</span><span class="symbol">:</span> <a href="../set-data.html#K"><span class="identifier">K</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.html.setData.K)))/serializer">serializer</span><span class="symbol">:</span> <span class="identifier">SerializationStrategy</span><span class="symbol"><</span><a href="../set-data.html#K"><span class="identifier">K</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><br/> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">K</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> <a href="../-template/index.html"><span class="identifier">Template</span></a><span class="symbol">.</span><span class="identifier">setData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K)/obj">obj</span><span class="symbol">:</span> <a href="../set-data.html#K"><span class="identifier">K</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>Extension function to set serializable object as a template data.</p> +</td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-h1/-init-.html b/api1/pl.treksoft.kvision.html/-h1/-init-.html new file mode 100644 index 00000000..45088abe --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-h1/-init-.html @@ -0,0 +1,27 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>H1.<init> - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">H1</a> / <a href="./-init-.html"><init></a><br/> +<br/> +<h1><init></h1> +<a name="pl.treksoft.kvision.html.H1$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H1, kotlin.Unit)))"></a> +<code><span class="identifier">H1</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.H1$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H1, kotlin.Unit)))/content">content</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.html.H1$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H1, kotlin.Unit)))/rich">rich</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.html.H1$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H1, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.H1$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H1, 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.html.H1$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H1, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html"><span class="identifier">H1</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></code> +<h3>Parameters</h3> +<p><a name="content"></a> +<code>content</code> - element text</p> +<p><a name="rich"></a> +<code>rich</code> - determines if <a href="../-tag/content.html">content</a> can contain HTML code</p> +<p><a name="align"></a> +<code>align</code> - content align</p> +<p><a name="classes"></a> +<code>classes</code> - a set of CSS class names</p> +<p><a name="init"></a> +<code>init</code> - an initializer extension function</p> +<p><strong>Constructor</strong><br/> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-h1/h1.html b/api1/pl.treksoft.kvision.html/-h1/h1.html new file mode 100644 index 00000000..bb627a58 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-h1/h1.html @@ -0,0 +1,16 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>H1.h1 - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">H1</a> / <a href="./h1.html">h1</a><br/> +<br/> +<h1>h1</h1> +<a name="pl.treksoft.kvision.html.H1.Companion$h1(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H1, kotlin.Unit)))"></a> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">h1</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.H1.Companion$h1(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H1, kotlin.Unit)))/content">content</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.html.H1.Companion$h1(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H1, kotlin.Unit)))/rich">rich</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.html.H1.Companion$h1(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H1, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.H1.Companion$h1(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H1, 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.html.H1.Companion$h1(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H1, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html"><span class="identifier">H1</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="index.html"><span class="identifier">H1</span></a></code> +<p>DSL builder extension function.</p> +<p>It takes the same parameters as the constructor of the built component.</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-h1/index.html b/api1/pl.treksoft.kvision.html/-h1/index.html new file mode 100644 index 00000000..1593c4d3 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-h1/index.html @@ -0,0 +1,153 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>H1 - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="./index.html">H1</a><br/> +<br/> +<h1>H1</h1> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">H1</span> <span class="symbol">:</span> <a href="../-tag/index.html"><span class="identifier">Tag</span></a></code> +<p>Simple component rendered as <em>h1</em>.</p> +<h3>Constructors</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-init-.html"><init></a></p> +</td> +<td> +<code><span class="identifier">H1</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.H1$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H1, kotlin.Unit)))/content">content</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.html.H1$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H1, kotlin.Unit)))/rich">rich</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.html.H1$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H1, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.H1$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H1, 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.html.H1$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H1, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="./index.html"><span class="identifier">H1</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></code></td> +</tr> +</tbody> +</table> +<h3>Inherited Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../-tag/align.html">align</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">align</span><span class="symbol">: </span><a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span></code> +<p>Text align.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/content.html">content</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">content</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>Text content of the tag.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/rich.html">rich</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">rich</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>Determines if <a href="../-tag/content.html">content</a> can contain HTML code.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/template.html">template</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">template</span><span class="symbol">: </span><span class="symbol">(</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="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></code> +<p>Handlebars template.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/templates.html">templates</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">templates</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html"><span class="identifier">Map</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><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="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>Handlebars templates for i18n.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/type.html">type</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">type</span><span class="symbol">: </span><a href="../-t-a-g/index.html"><span class="identifier">TAG</span></a></code> +<p>Tag type.</p> +</td> +</tr> +</tbody> +</table> +<h3>Inherited Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../-tag/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="../-tag/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> +<p>Renders current component as a Snabbdom vnode.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/unary-plus.html">unaryPlus</a></p> +</td> +<td> +<code><span class="keyword">operator</span> <span class="keyword">fun </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">unaryPlus</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> +<h3>Companion Object Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="h1.html">h1</a></p> +</td> +<td> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">h1</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.H1.Companion$h1(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H1, kotlin.Unit)))/content">content</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.html.H1.Companion$h1(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H1, kotlin.Unit)))/rich">rich</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.html.H1.Companion$h1(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H1, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.H1.Companion$h1(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H1, 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.html.H1.Companion$h1(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H1, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="./index.html"><span class="identifier">H1</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="./index.html"><span class="identifier">H1</span></a></code> +<p>DSL builder extension function.</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="../set-data.html">setData</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">K</span><span class="symbol">></span> <a href="../-template/index.html"><span class="identifier">Template</span></a><span class="symbol">.</span><span class="identifier">setData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.html.setData.K)))/obj">obj</span><span class="symbol">:</span> <a href="../set-data.html#K"><span class="identifier">K</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.html.setData.K)))/serializer">serializer</span><span class="symbol">:</span> <span class="identifier">SerializationStrategy</span><span class="symbol"><</span><a href="../set-data.html#K"><span class="identifier">K</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><br/> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">K</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> <a href="../-template/index.html"><span class="identifier">Template</span></a><span class="symbol">.</span><span class="identifier">setData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K)/obj">obj</span><span class="symbol">:</span> <a href="../set-data.html#K"><span class="identifier">K</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>Extension function to set serializable object as a template data.</p> +</td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-h2/-init-.html b/api1/pl.treksoft.kvision.html/-h2/-init-.html new file mode 100644 index 00000000..1c33ec94 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-h2/-init-.html @@ -0,0 +1,27 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>H2.<init> - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">H2</a> / <a href="./-init-.html"><init></a><br/> +<br/> +<h1><init></h1> +<a name="pl.treksoft.kvision.html.H2$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H2, kotlin.Unit)))"></a> +<code><span class="identifier">H2</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.H2$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H2, kotlin.Unit)))/content">content</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.html.H2$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H2, kotlin.Unit)))/rich">rich</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.html.H2$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H2, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.H2$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H2, 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.html.H2$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H2, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html"><span class="identifier">H2</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></code> +<h3>Parameters</h3> +<p><a name="content"></a> +<code>content</code> - element text</p> +<p><a name="rich"></a> +<code>rich</code> - determines if <a href="../-tag/content.html">content</a> can contain HTML code</p> +<p><a name="align"></a> +<code>align</code> - content align</p> +<p><a name="classes"></a> +<code>classes</code> - a set of CSS class names</p> +<p><a name="init"></a> +<code>init</code> - an initializer extension function</p> +<p><strong>Constructor</strong><br/> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-h2/h2.html b/api1/pl.treksoft.kvision.html/-h2/h2.html new file mode 100644 index 00000000..0c6850ff --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-h2/h2.html @@ -0,0 +1,16 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>H2.h2 - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">H2</a> / <a href="./h2.html">h2</a><br/> +<br/> +<h1>h2</h1> +<a name="pl.treksoft.kvision.html.H2.Companion$h2(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H2, kotlin.Unit)))"></a> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">h2</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.H2.Companion$h2(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H2, kotlin.Unit)))/content">content</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.html.H2.Companion$h2(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H2, kotlin.Unit)))/rich">rich</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.html.H2.Companion$h2(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H2, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.H2.Companion$h2(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H2, 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.html.H2.Companion$h2(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H2, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html"><span class="identifier">H2</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="index.html"><span class="identifier">H2</span></a></code> +<p>DSL builder extension function.</p> +<p>It takes the same parameters as the constructor of the built component.</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-h2/index.html b/api1/pl.treksoft.kvision.html/-h2/index.html new file mode 100644 index 00000000..3694063e --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-h2/index.html @@ -0,0 +1,153 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>H2 - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="./index.html">H2</a><br/> +<br/> +<h1>H2</h1> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">H2</span> <span class="symbol">:</span> <a href="../-tag/index.html"><span class="identifier">Tag</span></a></code> +<p>Simple component rendered as <em>h2</em>.</p> +<h3>Constructors</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-init-.html"><init></a></p> +</td> +<td> +<code><span class="identifier">H2</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.H2$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H2, kotlin.Unit)))/content">content</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.html.H2$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H2, kotlin.Unit)))/rich">rich</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.html.H2$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H2, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.H2$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H2, 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.html.H2$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H2, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="./index.html"><span class="identifier">H2</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></code></td> +</tr> +</tbody> +</table> +<h3>Inherited Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../-tag/align.html">align</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">align</span><span class="symbol">: </span><a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span></code> +<p>Text align.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/content.html">content</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">content</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>Text content of the tag.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/rich.html">rich</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">rich</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>Determines if <a href="../-tag/content.html">content</a> can contain HTML code.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/template.html">template</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">template</span><span class="symbol">: </span><span class="symbol">(</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="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></code> +<p>Handlebars template.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/templates.html">templates</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">templates</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html"><span class="identifier">Map</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><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="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>Handlebars templates for i18n.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/type.html">type</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">type</span><span class="symbol">: </span><a href="../-t-a-g/index.html"><span class="identifier">TAG</span></a></code> +<p>Tag type.</p> +</td> +</tr> +</tbody> +</table> +<h3>Inherited Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../-tag/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="../-tag/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> +<p>Renders current component as a Snabbdom vnode.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/unary-plus.html">unaryPlus</a></p> +</td> +<td> +<code><span class="keyword">operator</span> <span class="keyword">fun </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">unaryPlus</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> +<h3>Companion Object Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="h2.html">h2</a></p> +</td> +<td> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">h2</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.H2.Companion$h2(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H2, kotlin.Unit)))/content">content</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.html.H2.Companion$h2(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H2, kotlin.Unit)))/rich">rich</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.html.H2.Companion$h2(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H2, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.H2.Companion$h2(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H2, 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.html.H2.Companion$h2(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H2, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="./index.html"><span class="identifier">H2</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="./index.html"><span class="identifier">H2</span></a></code> +<p>DSL builder extension function.</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="../set-data.html">setData</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">K</span><span class="symbol">></span> <a href="../-template/index.html"><span class="identifier">Template</span></a><span class="symbol">.</span><span class="identifier">setData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.html.setData.K)))/obj">obj</span><span class="symbol">:</span> <a href="../set-data.html#K"><span class="identifier">K</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.html.setData.K)))/serializer">serializer</span><span class="symbol">:</span> <span class="identifier">SerializationStrategy</span><span class="symbol"><</span><a href="../set-data.html#K"><span class="identifier">K</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><br/> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">K</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> <a href="../-template/index.html"><span class="identifier">Template</span></a><span class="symbol">.</span><span class="identifier">setData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K)/obj">obj</span><span class="symbol">:</span> <a href="../set-data.html#K"><span class="identifier">K</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>Extension function to set serializable object as a template data.</p> +</td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-h3/-init-.html b/api1/pl.treksoft.kvision.html/-h3/-init-.html new file mode 100644 index 00000000..f7a79e27 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-h3/-init-.html @@ -0,0 +1,27 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>H3.<init> - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">H3</a> / <a href="./-init-.html"><init></a><br/> +<br/> +<h1><init></h1> +<a name="pl.treksoft.kvision.html.H3$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H3, kotlin.Unit)))"></a> +<code><span class="identifier">H3</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.H3$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H3, kotlin.Unit)))/content">content</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.html.H3$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H3, kotlin.Unit)))/rich">rich</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.html.H3$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H3, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.H3$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H3, 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.html.H3$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H3, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html"><span class="identifier">H3</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></code> +<h3>Parameters</h3> +<p><a name="content"></a> +<code>content</code> - element text</p> +<p><a name="rich"></a> +<code>rich</code> - determines if <a href="../-tag/content.html">content</a> can contain HTML code</p> +<p><a name="align"></a> +<code>align</code> - content align</p> +<p><a name="classes"></a> +<code>classes</code> - a set of CSS class names</p> +<p><a name="init"></a> +<code>init</code> - an initializer extension function</p> +<p><strong>Constructor</strong><br/> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-h3/h3.html b/api1/pl.treksoft.kvision.html/-h3/h3.html new file mode 100644 index 00000000..0aab19f2 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-h3/h3.html @@ -0,0 +1,16 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>H3.h3 - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">H3</a> / <a href="./h3.html">h3</a><br/> +<br/> +<h1>h3</h1> +<a name="pl.treksoft.kvision.html.H3.Companion$h3(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H3, kotlin.Unit)))"></a> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">h3</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.H3.Companion$h3(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H3, kotlin.Unit)))/content">content</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.html.H3.Companion$h3(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H3, kotlin.Unit)))/rich">rich</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.html.H3.Companion$h3(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H3, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.H3.Companion$h3(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H3, 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.html.H3.Companion$h3(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H3, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html"><span class="identifier">H3</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="index.html"><span class="identifier">H3</span></a></code> +<p>DSL builder extension function.</p> +<p>It takes the same parameters as the constructor of the built component.</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-h3/index.html b/api1/pl.treksoft.kvision.html/-h3/index.html new file mode 100644 index 00000000..bb31761e --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-h3/index.html @@ -0,0 +1,153 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>H3 - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="./index.html">H3</a><br/> +<br/> +<h1>H3</h1> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">H3</span> <span class="symbol">:</span> <a href="../-tag/index.html"><span class="identifier">Tag</span></a></code> +<p>Simple component rendered as <em>h3</em>.</p> +<h3>Constructors</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-init-.html"><init></a></p> +</td> +<td> +<code><span class="identifier">H3</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.H3$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H3, kotlin.Unit)))/content">content</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.html.H3$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H3, kotlin.Unit)))/rich">rich</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.html.H3$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H3, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.H3$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H3, 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.html.H3$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H3, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="./index.html"><span class="identifier">H3</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></code></td> +</tr> +</tbody> +</table> +<h3>Inherited Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../-tag/align.html">align</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">align</span><span class="symbol">: </span><a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span></code> +<p>Text align.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/content.html">content</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">content</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>Text content of the tag.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/rich.html">rich</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">rich</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>Determines if <a href="../-tag/content.html">content</a> can contain HTML code.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/template.html">template</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">template</span><span class="symbol">: </span><span class="symbol">(</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="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></code> +<p>Handlebars template.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/templates.html">templates</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">templates</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html"><span class="identifier">Map</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><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="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>Handlebars templates for i18n.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/type.html">type</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">type</span><span class="symbol">: </span><a href="../-t-a-g/index.html"><span class="identifier">TAG</span></a></code> +<p>Tag type.</p> +</td> +</tr> +</tbody> +</table> +<h3>Inherited Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../-tag/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="../-tag/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> +<p>Renders current component as a Snabbdom vnode.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/unary-plus.html">unaryPlus</a></p> +</td> +<td> +<code><span class="keyword">operator</span> <span class="keyword">fun </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">unaryPlus</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> +<h3>Companion Object Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="h3.html">h3</a></p> +</td> +<td> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">h3</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.H3.Companion$h3(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H3, kotlin.Unit)))/content">content</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.html.H3.Companion$h3(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H3, kotlin.Unit)))/rich">rich</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.html.H3.Companion$h3(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H3, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.H3.Companion$h3(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H3, 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.html.H3.Companion$h3(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H3, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="./index.html"><span class="identifier">H3</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="./index.html"><span class="identifier">H3</span></a></code> +<p>DSL builder extension function.</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="../set-data.html">setData</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">K</span><span class="symbol">></span> <a href="../-template/index.html"><span class="identifier">Template</span></a><span class="symbol">.</span><span class="identifier">setData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.html.setData.K)))/obj">obj</span><span class="symbol">:</span> <a href="../set-data.html#K"><span class="identifier">K</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.html.setData.K)))/serializer">serializer</span><span class="symbol">:</span> <span class="identifier">SerializationStrategy</span><span class="symbol"><</span><a href="../set-data.html#K"><span class="identifier">K</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><br/> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">K</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> <a href="../-template/index.html"><span class="identifier">Template</span></a><span class="symbol">.</span><span class="identifier">setData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K)/obj">obj</span><span class="symbol">:</span> <a href="../set-data.html#K"><span class="identifier">K</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>Extension function to set serializable object as a template data.</p> +</td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-h4/-init-.html b/api1/pl.treksoft.kvision.html/-h4/-init-.html new file mode 100644 index 00000000..772ed84c --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-h4/-init-.html @@ -0,0 +1,27 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>H4.<init> - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">H4</a> / <a href="./-init-.html"><init></a><br/> +<br/> +<h1><init></h1> +<a name="pl.treksoft.kvision.html.H4$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H4, kotlin.Unit)))"></a> +<code><span class="identifier">H4</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.H4$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H4, kotlin.Unit)))/content">content</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.html.H4$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H4, kotlin.Unit)))/rich">rich</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.html.H4$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H4, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.H4$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H4, 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.html.H4$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H4, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html"><span class="identifier">H4</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></code> +<h3>Parameters</h3> +<p><a name="content"></a> +<code>content</code> - element text</p> +<p><a name="rich"></a> +<code>rich</code> - determines if <a href="../-tag/content.html">content</a> can contain HTML code</p> +<p><a name="align"></a> +<code>align</code> - content align</p> +<p><a name="classes"></a> +<code>classes</code> - a set of CSS class names</p> +<p><a name="init"></a> +<code>init</code> - an initializer extension function</p> +<p><strong>Constructor</strong><br/> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-h4/h4.html b/api1/pl.treksoft.kvision.html/-h4/h4.html new file mode 100644 index 00000000..116396c3 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-h4/h4.html @@ -0,0 +1,16 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>H4.h4 - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">H4</a> / <a href="./h4.html">h4</a><br/> +<br/> +<h1>h4</h1> +<a name="pl.treksoft.kvision.html.H4.Companion$h4(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H4, kotlin.Unit)))"></a> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">h4</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.H4.Companion$h4(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H4, kotlin.Unit)))/content">content</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.html.H4.Companion$h4(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H4, kotlin.Unit)))/rich">rich</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.html.H4.Companion$h4(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H4, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.H4.Companion$h4(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H4, 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.html.H4.Companion$h4(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H4, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html"><span class="identifier">H4</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="index.html"><span class="identifier">H4</span></a></code> +<p>DSL builder extension function.</p> +<p>It takes the same parameters as the constructor of the built component.</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-h4/index.html b/api1/pl.treksoft.kvision.html/-h4/index.html new file mode 100644 index 00000000..0ba549c9 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-h4/index.html @@ -0,0 +1,153 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>H4 - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="./index.html">H4</a><br/> +<br/> +<h1>H4</h1> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">H4</span> <span class="symbol">:</span> <a href="../-tag/index.html"><span class="identifier">Tag</span></a></code> +<p>Simple component rendered as <em>h4</em>.</p> +<h3>Constructors</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-init-.html"><init></a></p> +</td> +<td> +<code><span class="identifier">H4</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.H4$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H4, kotlin.Unit)))/content">content</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.html.H4$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H4, kotlin.Unit)))/rich">rich</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.html.H4$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H4, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.H4$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H4, 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.html.H4$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H4, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="./index.html"><span class="identifier">H4</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></code></td> +</tr> +</tbody> +</table> +<h3>Inherited Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../-tag/align.html">align</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">align</span><span class="symbol">: </span><a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span></code> +<p>Text align.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/content.html">content</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">content</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>Text content of the tag.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/rich.html">rich</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">rich</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>Determines if <a href="../-tag/content.html">content</a> can contain HTML code.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/template.html">template</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">template</span><span class="symbol">: </span><span class="symbol">(</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="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></code> +<p>Handlebars template.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/templates.html">templates</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">templates</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html"><span class="identifier">Map</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><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="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>Handlebars templates for i18n.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/type.html">type</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">type</span><span class="symbol">: </span><a href="../-t-a-g/index.html"><span class="identifier">TAG</span></a></code> +<p>Tag type.</p> +</td> +</tr> +</tbody> +</table> +<h3>Inherited Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../-tag/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="../-tag/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> +<p>Renders current component as a Snabbdom vnode.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/unary-plus.html">unaryPlus</a></p> +</td> +<td> +<code><span class="keyword">operator</span> <span class="keyword">fun </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">unaryPlus</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> +<h3>Companion Object Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="h4.html">h4</a></p> +</td> +<td> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">h4</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.H4.Companion$h4(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H4, kotlin.Unit)))/content">content</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.html.H4.Companion$h4(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H4, kotlin.Unit)))/rich">rich</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.html.H4.Companion$h4(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H4, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.H4.Companion$h4(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H4, 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.html.H4.Companion$h4(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H4, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="./index.html"><span class="identifier">H4</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="./index.html"><span class="identifier">H4</span></a></code> +<p>DSL builder extension function.</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="../set-data.html">setData</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">K</span><span class="symbol">></span> <a href="../-template/index.html"><span class="identifier">Template</span></a><span class="symbol">.</span><span class="identifier">setData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.html.setData.K)))/obj">obj</span><span class="symbol">:</span> <a href="../set-data.html#K"><span class="identifier">K</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.html.setData.K)))/serializer">serializer</span><span class="symbol">:</span> <span class="identifier">SerializationStrategy</span><span class="symbol"><</span><a href="../set-data.html#K"><span class="identifier">K</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><br/> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">K</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> <a href="../-template/index.html"><span class="identifier">Template</span></a><span class="symbol">.</span><span class="identifier">setData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K)/obj">obj</span><span class="symbol">:</span> <a href="../set-data.html#K"><span class="identifier">K</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>Extension function to set serializable object as a template data.</p> +</td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-h5/-init-.html b/api1/pl.treksoft.kvision.html/-h5/-init-.html new file mode 100644 index 00000000..652fddd1 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-h5/-init-.html @@ -0,0 +1,27 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>H5.<init> - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">H5</a> / <a href="./-init-.html"><init></a><br/> +<br/> +<h1><init></h1> +<a name="pl.treksoft.kvision.html.H5$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H5, kotlin.Unit)))"></a> +<code><span class="identifier">H5</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.H5$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H5, kotlin.Unit)))/content">content</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.html.H5$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H5, kotlin.Unit)))/rich">rich</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.html.H5$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H5, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.H5$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H5, 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.html.H5$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H5, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html"><span class="identifier">H5</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></code> +<h3>Parameters</h3> +<p><a name="content"></a> +<code>content</code> - element text</p> +<p><a name="rich"></a> +<code>rich</code> - determines if <a href="../-tag/content.html">content</a> can contain HTML code</p> +<p><a name="align"></a> +<code>align</code> - content align</p> +<p><a name="classes"></a> +<code>classes</code> - a set of CSS class names</p> +<p><a name="init"></a> +<code>init</code> - an initializer extension function</p> +<p><strong>Constructor</strong><br/> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-h5/h5.html b/api1/pl.treksoft.kvision.html/-h5/h5.html new file mode 100644 index 00000000..38000142 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-h5/h5.html @@ -0,0 +1,16 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>H5.h5 - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">H5</a> / <a href="./h5.html">h5</a><br/> +<br/> +<h1>h5</h1> +<a name="pl.treksoft.kvision.html.H5.Companion$h5(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H5, kotlin.Unit)))"></a> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">h5</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.H5.Companion$h5(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H5, kotlin.Unit)))/content">content</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.html.H5.Companion$h5(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H5, kotlin.Unit)))/rich">rich</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.html.H5.Companion$h5(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H5, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.H5.Companion$h5(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H5, 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.html.H5.Companion$h5(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H5, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html"><span class="identifier">H5</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="index.html"><span class="identifier">H5</span></a></code> +<p>DSL builder extension function.</p> +<p>It takes the same parameters as the constructor of the built component.</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-h5/index.html b/api1/pl.treksoft.kvision.html/-h5/index.html new file mode 100644 index 00000000..65cda355 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-h5/index.html @@ -0,0 +1,153 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>H5 - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="./index.html">H5</a><br/> +<br/> +<h1>H5</h1> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">H5</span> <span class="symbol">:</span> <a href="../-tag/index.html"><span class="identifier">Tag</span></a></code> +<p>Simple component rendered as <em>h5</em>.</p> +<h3>Constructors</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-init-.html"><init></a></p> +</td> +<td> +<code><span class="identifier">H5</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.H5$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H5, kotlin.Unit)))/content">content</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.html.H5$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H5, kotlin.Unit)))/rich">rich</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.html.H5$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H5, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.H5$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H5, 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.html.H5$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H5, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="./index.html"><span class="identifier">H5</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></code></td> +</tr> +</tbody> +</table> +<h3>Inherited Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../-tag/align.html">align</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">align</span><span class="symbol">: </span><a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span></code> +<p>Text align.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/content.html">content</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">content</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>Text content of the tag.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/rich.html">rich</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">rich</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>Determines if <a href="../-tag/content.html">content</a> can contain HTML code.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/template.html">template</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">template</span><span class="symbol">: </span><span class="symbol">(</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="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></code> +<p>Handlebars template.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/templates.html">templates</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">templates</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html"><span class="identifier">Map</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><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="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>Handlebars templates for i18n.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/type.html">type</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">type</span><span class="symbol">: </span><a href="../-t-a-g/index.html"><span class="identifier">TAG</span></a></code> +<p>Tag type.</p> +</td> +</tr> +</tbody> +</table> +<h3>Inherited Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../-tag/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="../-tag/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> +<p>Renders current component as a Snabbdom vnode.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/unary-plus.html">unaryPlus</a></p> +</td> +<td> +<code><span class="keyword">operator</span> <span class="keyword">fun </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">unaryPlus</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> +<h3>Companion Object Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="h5.html">h5</a></p> +</td> +<td> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">h5</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.H5.Companion$h5(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H5, kotlin.Unit)))/content">content</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.html.H5.Companion$h5(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H5, kotlin.Unit)))/rich">rich</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.html.H5.Companion$h5(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H5, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.H5.Companion$h5(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H5, 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.html.H5.Companion$h5(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H5, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="./index.html"><span class="identifier">H5</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="./index.html"><span class="identifier">H5</span></a></code> +<p>DSL builder extension function.</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="../set-data.html">setData</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">K</span><span class="symbol">></span> <a href="../-template/index.html"><span class="identifier">Template</span></a><span class="symbol">.</span><span class="identifier">setData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.html.setData.K)))/obj">obj</span><span class="symbol">:</span> <a href="../set-data.html#K"><span class="identifier">K</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.html.setData.K)))/serializer">serializer</span><span class="symbol">:</span> <span class="identifier">SerializationStrategy</span><span class="symbol"><</span><a href="../set-data.html#K"><span class="identifier">K</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><br/> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">K</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> <a href="../-template/index.html"><span class="identifier">Template</span></a><span class="symbol">.</span><span class="identifier">setData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K)/obj">obj</span><span class="symbol">:</span> <a href="../set-data.html#K"><span class="identifier">K</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>Extension function to set serializable object as a template data.</p> +</td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-h6/-init-.html b/api1/pl.treksoft.kvision.html/-h6/-init-.html new file mode 100644 index 00000000..6a2ae637 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-h6/-init-.html @@ -0,0 +1,27 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>H6.<init> - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">H6</a> / <a href="./-init-.html"><init></a><br/> +<br/> +<h1><init></h1> +<a name="pl.treksoft.kvision.html.H6$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H6, kotlin.Unit)))"></a> +<code><span class="identifier">H6</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.H6$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H6, kotlin.Unit)))/content">content</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.html.H6$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H6, kotlin.Unit)))/rich">rich</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.html.H6$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H6, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.H6$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H6, 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.html.H6$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H6, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html"><span class="identifier">H6</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></code> +<h3>Parameters</h3> +<p><a name="content"></a> +<code>content</code> - element text</p> +<p><a name="rich"></a> +<code>rich</code> - determines if <a href="../-tag/content.html">content</a> can contain HTML code</p> +<p><a name="align"></a> +<code>align</code> - content align</p> +<p><a name="classes"></a> +<code>classes</code> - a set of CSS class names</p> +<p><a name="init"></a> +<code>init</code> - an initializer extension function</p> +<p><strong>Constructor</strong><br/> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-h6/h6.html b/api1/pl.treksoft.kvision.html/-h6/h6.html new file mode 100644 index 00000000..4af0a12c --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-h6/h6.html @@ -0,0 +1,16 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>H6.h6 - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">H6</a> / <a href="./h6.html">h6</a><br/> +<br/> +<h1>h6</h1> +<a name="pl.treksoft.kvision.html.H6.Companion$h6(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H6, kotlin.Unit)))"></a> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">h6</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.H6.Companion$h6(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H6, kotlin.Unit)))/content">content</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.html.H6.Companion$h6(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H6, kotlin.Unit)))/rich">rich</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.html.H6.Companion$h6(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H6, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.H6.Companion$h6(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H6, 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.html.H6.Companion$h6(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H6, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html"><span class="identifier">H6</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="index.html"><span class="identifier">H6</span></a></code> +<p>DSL builder extension function.</p> +<p>It takes the same parameters as the constructor of the built component.</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-h6/index.html b/api1/pl.treksoft.kvision.html/-h6/index.html new file mode 100644 index 00000000..494b2479 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-h6/index.html @@ -0,0 +1,153 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>H6 - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="./index.html">H6</a><br/> +<br/> +<h1>H6</h1> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">H6</span> <span class="symbol">:</span> <a href="../-tag/index.html"><span class="identifier">Tag</span></a></code> +<p>Simple component rendered as <em>h6</em>.</p> +<h3>Constructors</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-init-.html"><init></a></p> +</td> +<td> +<code><span class="identifier">H6</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.H6$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H6, kotlin.Unit)))/content">content</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.html.H6$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H6, kotlin.Unit)))/rich">rich</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.html.H6$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H6, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.H6$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H6, 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.html.H6$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H6, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="./index.html"><span class="identifier">H6</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></code></td> +</tr> +</tbody> +</table> +<h3>Inherited Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../-tag/align.html">align</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">align</span><span class="symbol">: </span><a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span></code> +<p>Text align.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/content.html">content</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">content</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>Text content of the tag.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/rich.html">rich</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">rich</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>Determines if <a href="../-tag/content.html">content</a> can contain HTML code.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/template.html">template</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">template</span><span class="symbol">: </span><span class="symbol">(</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="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></code> +<p>Handlebars template.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/templates.html">templates</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">templates</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html"><span class="identifier">Map</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><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="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>Handlebars templates for i18n.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/type.html">type</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">type</span><span class="symbol">: </span><a href="../-t-a-g/index.html"><span class="identifier">TAG</span></a></code> +<p>Tag type.</p> +</td> +</tr> +</tbody> +</table> +<h3>Inherited Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../-tag/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="../-tag/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> +<p>Renders current component as a Snabbdom vnode.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/unary-plus.html">unaryPlus</a></p> +</td> +<td> +<code><span class="keyword">operator</span> <span class="keyword">fun </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">unaryPlus</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> +<h3>Companion Object Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="h6.html">h6</a></p> +</td> +<td> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">h6</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.H6.Companion$h6(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H6, kotlin.Unit)))/content">content</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.html.H6.Companion$h6(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H6, kotlin.Unit)))/rich">rich</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.html.H6.Companion$h6(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H6, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.H6.Companion$h6(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H6, 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.html.H6.Companion$h6(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.H6, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="./index.html"><span class="identifier">H6</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="./index.html"><span class="identifier">H6</span></a></code> +<p>DSL builder extension function.</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="../set-data.html">setData</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">K</span><span class="symbol">></span> <a href="../-template/index.html"><span class="identifier">Template</span></a><span class="symbol">.</span><span class="identifier">setData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.html.setData.K)))/obj">obj</span><span class="symbol">:</span> <a href="../set-data.html#K"><span class="identifier">K</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.html.setData.K)))/serializer">serializer</span><span class="symbol">:</span> <span class="identifier">SerializationStrategy</span><span class="symbol"><</span><a href="../set-data.html#K"><span class="identifier">K</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><br/> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">K</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> <a href="../-template/index.html"><span class="identifier">Template</span></a><span class="symbol">.</span><span class="identifier">setData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K)/obj">obj</span><span class="symbol">:</span> <a href="../set-data.html#K"><span class="identifier">K</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>Extension function to set serializable object as a template data.</p> +</td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-header/-init-.html b/api1/pl.treksoft.kvision.html/-header/-init-.html new file mode 100644 index 00000000..a5ff2454 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-header/-init-.html @@ -0,0 +1,27 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Header.<init> - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Header</a> / <a href="./-init-.html"><init></a><br/> +<br/> +<h1><init></h1> +<a name="pl.treksoft.kvision.html.Header$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Header, kotlin.Unit)))"></a> +<code><span class="identifier">Header</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Header$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Header, kotlin.Unit)))/content">content</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.html.Header$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Header, kotlin.Unit)))/rich">rich</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.html.Header$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Header, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Header$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Header, 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.html.Header$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Header, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html"><span class="identifier">Header</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></code> +<h3>Parameters</h3> +<p><a name="content"></a> +<code>content</code> - element text</p> +<p><a name="rich"></a> +<code>rich</code> - determines if <a href="../-tag/content.html">content</a> can contain HTML code</p> +<p><a name="align"></a> +<code>align</code> - content align</p> +<p><a name="classes"></a> +<code>classes</code> - a set of CSS class names</p> +<p><a name="init"></a> +<code>init</code> - an initializer extension function</p> +<p><strong>Constructor</strong><br/> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-header/header.html b/api1/pl.treksoft.kvision.html/-header/header.html new file mode 100644 index 00000000..96300213 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-header/header.html @@ -0,0 +1,16 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Header.header - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Header</a> / <a href="./header.html">header</a><br/> +<br/> +<h1>header</h1> +<a name="pl.treksoft.kvision.html.Header.Companion$header(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Header, kotlin.Unit)))"></a> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">header</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Header.Companion$header(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Header, kotlin.Unit)))/content">content</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.html.Header.Companion$header(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Header, kotlin.Unit)))/rich">rich</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.html.Header.Companion$header(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Header, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Header.Companion$header(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Header, 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.html.Header.Companion$header(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Header, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html"><span class="identifier">Header</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="index.html"><span class="identifier">Header</span></a></code> +<p>DSL builder extension function.</p> +<p>It takes the same parameters as the constructor of the built component.</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-header/index.html b/api1/pl.treksoft.kvision.html/-header/index.html new file mode 100644 index 00000000..f6d7278e --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-header/index.html @@ -0,0 +1,153 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Header - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="./index.html">Header</a><br/> +<br/> +<h1>Header</h1> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Header</span> <span class="symbol">:</span> <a href="../-tag/index.html"><span class="identifier">Tag</span></a></code> +<p>Simple component rendered as <em>header</em>.</p> +<h3>Constructors</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-init-.html"><init></a></p> +</td> +<td> +<code><span class="identifier">Header</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Header$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Header, kotlin.Unit)))/content">content</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.html.Header$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Header, kotlin.Unit)))/rich">rich</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.html.Header$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Header, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Header$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Header, 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.html.Header$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Header, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="./index.html"><span class="identifier">Header</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></code></td> +</tr> +</tbody> +</table> +<h3>Inherited Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../-tag/align.html">align</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">align</span><span class="symbol">: </span><a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span></code> +<p>Text align.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/content.html">content</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">content</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>Text content of the tag.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/rich.html">rich</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">rich</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>Determines if <a href="../-tag/content.html">content</a> can contain HTML code.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/template.html">template</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">template</span><span class="symbol">: </span><span class="symbol">(</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="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></code> +<p>Handlebars template.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/templates.html">templates</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">templates</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html"><span class="identifier">Map</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><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="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>Handlebars templates for i18n.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/type.html">type</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">type</span><span class="symbol">: </span><a href="../-t-a-g/index.html"><span class="identifier">TAG</span></a></code> +<p>Tag type.</p> +</td> +</tr> +</tbody> +</table> +<h3>Inherited Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../-tag/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="../-tag/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> +<p>Renders current component as a Snabbdom vnode.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/unary-plus.html">unaryPlus</a></p> +</td> +<td> +<code><span class="keyword">operator</span> <span class="keyword">fun </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">unaryPlus</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> +<h3>Companion Object Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="header.html">header</a></p> +</td> +<td> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">header</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Header.Companion$header(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Header, kotlin.Unit)))/content">content</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.html.Header.Companion$header(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Header, kotlin.Unit)))/rich">rich</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.html.Header.Companion$header(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Header, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Header.Companion$header(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Header, 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.html.Header.Companion$header(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Header, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="./index.html"><span class="identifier">Header</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="./index.html"><span class="identifier">Header</span></a></code> +<p>DSL builder extension function.</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="../set-data.html">setData</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">K</span><span class="symbol">></span> <a href="../-template/index.html"><span class="identifier">Template</span></a><span class="symbol">.</span><span class="identifier">setData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.html.setData.K)))/obj">obj</span><span class="symbol">:</span> <a href="../set-data.html#K"><span class="identifier">K</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.html.setData.K)))/serializer">serializer</span><span class="symbol">:</span> <span class="identifier">SerializationStrategy</span><span class="symbol"><</span><a href="../set-data.html#K"><span class="identifier">K</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><br/> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">K</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> <a href="../-template/index.html"><span class="identifier">Template</span></a><span class="symbol">.</span><span class="identifier">setData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K)/obj">obj</span><span class="symbol">:</span> <a href="../set-data.html#K"><span class="identifier">K</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>Extension function to set serializable object as a template data.</p> +</td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-icon/-init-.html b/api1/pl.treksoft.kvision.html/-icon/-init-.html new file mode 100644 index 00000000..08671b45 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-icon/-init-.html @@ -0,0 +1,19 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Icon.<init> - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Icon</a> / <a href="./-init-.html"><init></a><br/> +<br/> +<h1><init></h1> +<a name="pl.treksoft.kvision.html.Icon$<init>(kotlin.String)"></a> +<code><span class="identifier">Icon</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Icon$<init>(kotlin.String)/icon">icon</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> +<h3>Parameters</h3> +<p><a name="icon"></a> +<code>icon</code> - icon name</p> +<p><strong>Constructor</strong><br/> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-icon/get-sn-class.html b/api1/pl.treksoft.kvision.html/-icon/get-sn-class.html new file mode 100644 index 00000000..ae52c838 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-icon/get-sn-class.html @@ -0,0 +1,18 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Icon.getSnClass - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Icon</a> / <a href="./get-sn-class.html">getSnClass</a><br/> +<br/> +<h1>getSnClass</h1> +<a name="pl.treksoft.kvision.html.Icon$getSnClass()"></a> +<code><span class="keyword">protected</span> <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>Overrides <a href="../-tag/get-sn-class.html">Tag.getSnClass</a></p> +<p>Returns list of CSS class names for current widget in the form of a List.</p> +<p><strong>Return</strong><br/> +list of CSS class names</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-icon/icon.html b/api1/pl.treksoft.kvision.html/-icon/icon.html new file mode 100644 index 00000000..3ed999be --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-icon/icon.html @@ -0,0 +1,25 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Icon.icon - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Icon</a> / <a href="./icon.html">icon</a><br/> +<br/> +<h1>icon</h1> +<a name="pl.treksoft.kvision.html.Icon$icon"></a> +<code><span class="keyword">var </span><span class="identifier">icon</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code> +<p>Icon type.</p> +<p><strong>Getter</strong><br/> +<p>Icon type.</p> +</p> +<p><strong>Setter</strong><br/> +<p>Icon type.</p> +</p> +<a name="pl.treksoft.kvision.html.Icon.Companion$icon(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Function1((pl.treksoft.kvision.html.Icon, kotlin.Unit)))"></a> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">icon</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Icon.Companion$icon(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Function1((pl.treksoft.kvision.html.Icon, kotlin.Unit)))/icon">icon</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.html.Icon.Companion$icon(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Function1((pl.treksoft.kvision.html.Icon, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html"><span class="identifier">Icon</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="index.html"><span class="identifier">Icon</span></a></code> +<p>DSL builder extension function.</p> +<p>It takes the same parameters as the constructor of the built component.</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-icon/index.html b/api1/pl.treksoft.kvision.html/-icon/index.html new file mode 100644 index 00000000..4f9b2ad9 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-icon/index.html @@ -0,0 +1,172 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Icon - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="./index.html">Icon</a><br/> +<br/> +<h1>Icon</h1> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Icon</span> <span class="symbol">:</span> <a href="../-tag/index.html"><span class="identifier">Tag</span></a></code> +<p>Icon component with support for FontAwesome and Bootstrap glyphicons.</p> +<h3>Constructors</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-init-.html"><init></a></p> +</td> +<td> +<code><span class="identifier">Icon</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Icon$<init>(kotlin.String)/icon">icon</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> +</tbody> +</table> +<h3>Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="icon.html">icon</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">icon</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code> +<p>Icon type.</p> +</td> +</tr> +</tbody> +</table> +<h3>Inherited Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../-tag/align.html">align</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">align</span><span class="symbol">: </span><a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span></code> +<p>Text align.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/content.html">content</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">content</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>Text content of the tag.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/rich.html">rich</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">rich</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>Determines if <a href="../-tag/content.html">content</a> can contain HTML code.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/template.html">template</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">template</span><span class="symbol">: </span><span class="symbol">(</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="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></code> +<p>Handlebars template.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/templates.html">templates</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">templates</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html"><span class="identifier">Map</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><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="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>Handlebars templates for i18n.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/type.html">type</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">type</span><span class="symbol">: </span><a href="../-t-a-g/index.html"><span class="identifier">TAG</span></a></code> +<p>Tag type.</p> +</td> +</tr> +</tbody> +</table> +<h3>Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="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> +</tbody> +</table> +<h3>Inherited Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../-tag/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> +<p>Renders current component as a Snabbdom vnode.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/unary-plus.html">unaryPlus</a></p> +</td> +<td> +<code><span class="keyword">operator</span> <span class="keyword">fun </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">unaryPlus</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> +<h3>Companion Object Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="icon.html">icon</a></p> +</td> +<td> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">icon</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Icon.Companion$icon(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Function1((pl.treksoft.kvision.html.Icon, kotlin.Unit)))/icon">icon</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.html.Icon.Companion$icon(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Function1((pl.treksoft.kvision.html.Icon, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="./index.html"><span class="identifier">Icon</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="./index.html"><span class="identifier">Icon</span></a></code> +<p>DSL builder extension function.</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="../set-data.html">setData</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">K</span><span class="symbol">></span> <a href="../-template/index.html"><span class="identifier">Template</span></a><span class="symbol">.</span><span class="identifier">setData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.html.setData.K)))/obj">obj</span><span class="symbol">:</span> <a href="../set-data.html#K"><span class="identifier">K</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.html.setData.K)))/serializer">serializer</span><span class="symbol">:</span> <span class="identifier">SerializationStrategy</span><span class="symbol"><</span><a href="../set-data.html#K"><span class="identifier">K</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><br/> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">K</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> <a href="../-template/index.html"><span class="identifier">Template</span></a><span class="symbol">.</span><span class="identifier">setData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K)/obj">obj</span><span class="symbol">:</span> <a href="../set-data.html#K"><span class="identifier">K</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>Extension function to set serializable object as a template data.</p> +</td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-iframe/-init-.html b/api1/pl.treksoft.kvision.html/-iframe/-init-.html new file mode 100644 index 00000000..3823d817 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-iframe/-init-.html @@ -0,0 +1,31 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Iframe.<init> - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Iframe</a> / <a href="./-init-.html"><init></a><br/> +<br/> +<h1><init></h1> +<a name="pl.treksoft.kvision.html.Iframe$<init>(kotlin.String, kotlin.String, kotlin.String, kotlin.Int, kotlin.Int, kotlin.collections.Set((pl.treksoft.kvision.html.Sandbox)), kotlin.collections.Set((kotlin.String)))"></a> +<code><span class="identifier">Iframe</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Iframe$<init>(kotlin.String, kotlin.String, kotlin.String, kotlin.Int, kotlin.Int, kotlin.collections.Set((pl.treksoft.kvision.html.Sandbox)), kotlin.collections.Set((kotlin.String)))/src">src</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.html.Iframe$<init>(kotlin.String, kotlin.String, kotlin.String, kotlin.Int, kotlin.Int, kotlin.collections.Set((pl.treksoft.kvision.html.Sandbox)), kotlin.collections.Set((kotlin.String)))/srcdoc">srcdoc</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.html.Iframe$<init>(kotlin.String, kotlin.String, kotlin.String, kotlin.Int, kotlin.Int, kotlin.collections.Set((pl.treksoft.kvision.html.Sandbox)), kotlin.collections.Set((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> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Iframe$<init>(kotlin.String, kotlin.String, kotlin.String, kotlin.Int, kotlin.Int, kotlin.collections.Set((pl.treksoft.kvision.html.Sandbox)), kotlin.collections.Set((kotlin.String)))/iframeWidth">iframeWidth</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> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Iframe$<init>(kotlin.String, kotlin.String, kotlin.String, kotlin.Int, kotlin.Int, kotlin.collections.Set((pl.treksoft.kvision.html.Sandbox)), kotlin.collections.Set((kotlin.String)))/iframeHeight">iframeHeight</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> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Iframe$<init>(kotlin.String, kotlin.String, kotlin.String, kotlin.Int, kotlin.Int, kotlin.collections.Set((pl.treksoft.kvision.html.Sandbox)), kotlin.collections.Set((kotlin.String)))/sandbox">sandbox</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="../-sandbox/index.html"><span class="identifier">Sandbox</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.html.Iframe$<init>(kotlin.String, kotlin.String, kotlin.String, kotlin.Int, kotlin.Int, kotlin.collections.Set((pl.treksoft.kvision.html.Sandbox)), kotlin.collections.Set((kotlin.String)))/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></code> +<h3>Parameters</h3> +<p><a name="src"></a> +<code>src</code> - the iframe document address</p> +<p><a name="srcdoc"></a> +<code>srcdoc</code> - the HTML content of the iframe</p> +<p><a name="name"></a> +<code>name</code> - the name of the iframe</p> +<p><a name="iframeWidth"></a> +<code>iframeWidth</code> - the width of the iframe</p> +<p><a name="iframeHeight"></a> +<code>iframeHeight</code> - the height of the iframe</p> +<p><a name="sandbox"></a> +<code>sandbox</code> - a set of Sandbox options</p> +<p><a name="classes"></a> +<code>classes</code> - a set of CSS class names</p> +<p><strong>Constructor</strong><br/> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-iframe/get-iframe-window.html b/api1/pl.treksoft.kvision.html/-iframe/get-iframe-window.html new file mode 100644 index 00000000..41620da2 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-iframe/get-iframe-window.html @@ -0,0 +1,17 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Iframe.getIframeWindow - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Iframe</a> / <a href="./get-iframe-window.html">getIframeWindow</a><br/> +<br/> +<h1>getIframeWindow</h1> +<a name="pl.treksoft.kvision.html.Iframe$getIframeWindow()"></a> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getIframeWindow</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/-window/index.html"><span class="identifier">Window</span></a></code> +<p>Returns content window object of the iframe.</p> +<p><strong>Return</strong><br/> +content window object</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-iframe/get-sn-attrs.html b/api1/pl.treksoft.kvision.html/-iframe/get-sn-attrs.html new file mode 100644 index 00000000..069b02a2 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-iframe/get-sn-attrs.html @@ -0,0 +1,18 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Iframe.getSnAttrs - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Iframe</a> / <a href="./get-sn-attrs.html">getSnAttrs</a><br/> +<br/> +<h1>getSnAttrs</h1> +<a name="pl.treksoft.kvision.html.Iframe$getSnAttrs()"></a> +<code><span class="keyword">protected</span> <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>Overrides <a href="../../pl.treksoft.kvision.core/-widget/get-sn-attrs.html">Widget.getSnAttrs</a></p> +<p>Returns list of element attributes in the form of a List.</p> +<p><strong>Return</strong><br/> +list of element attributes</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-iframe/iframe-height.html b/api1/pl.treksoft.kvision.html/-iframe/iframe-height.html new file mode 100644 index 00000000..a3f72945 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-iframe/iframe-height.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Iframe.iframeHeight - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Iframe</a> / <a href="./iframe-height.html">iframeHeight</a><br/> +<br/> +<h1>iframeHeight</h1> +<a name="pl.treksoft.kvision.html.Iframe$iframeHeight"></a> +<code><span class="keyword">var </span><span class="identifier">iframeHeight</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>The height of the iframe.</p> +<p><strong>Getter</strong><br/> +<p>The height of the iframe.</p> +</p> +<p><strong>Setter</strong><br/> +<p>The height of the iframe.</p> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-iframe/iframe-width.html b/api1/pl.treksoft.kvision.html/-iframe/iframe-width.html new file mode 100644 index 00000000..046d9634 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-iframe/iframe-width.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Iframe.iframeWidth - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Iframe</a> / <a href="./iframe-width.html">iframeWidth</a><br/> +<br/> +<h1>iframeWidth</h1> +<a name="pl.treksoft.kvision.html.Iframe$iframeWidth"></a> +<code><span class="keyword">var </span><span class="identifier">iframeWidth</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>The width of the iframe.</p> +<p><strong>Getter</strong><br/> +<p>The width of the iframe.</p> +</p> +<p><strong>Setter</strong><br/> +<p>The width of the iframe.</p> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-iframe/iframe.html b/api1/pl.treksoft.kvision.html/-iframe/iframe.html new file mode 100644 index 00000000..80df42e3 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-iframe/iframe.html @@ -0,0 +1,16 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Iframe.iframe - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Iframe</a> / <a href="./iframe.html">iframe</a><br/> +<br/> +<h1>iframe</h1> +<a name="pl.treksoft.kvision.html.Iframe.Companion$iframe(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.String, kotlin.Int, kotlin.Int, kotlin.collections.Set((pl.treksoft.kvision.html.Sandbox)), kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Iframe, kotlin.Unit)))"></a> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">iframe</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Iframe.Companion$iframe(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.String, kotlin.Int, kotlin.Int, kotlin.collections.Set((pl.treksoft.kvision.html.Sandbox)), kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Iframe, kotlin.Unit)))/src">src</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.html.Iframe.Companion$iframe(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.String, kotlin.Int, kotlin.Int, kotlin.collections.Set((pl.treksoft.kvision.html.Sandbox)), kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Iframe, kotlin.Unit)))/srcdoc">srcdoc</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.html.Iframe.Companion$iframe(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.String, kotlin.Int, kotlin.Int, kotlin.collections.Set((pl.treksoft.kvision.html.Sandbox)), kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Iframe, kotlin.Unit)))/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> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Iframe.Companion$iframe(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.String, kotlin.Int, kotlin.Int, kotlin.collections.Set((pl.treksoft.kvision.html.Sandbox)), kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Iframe, kotlin.Unit)))/iframeWidth">iframeWidth</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> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Iframe.Companion$iframe(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.String, kotlin.Int, kotlin.Int, kotlin.collections.Set((pl.treksoft.kvision.html.Sandbox)), kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Iframe, kotlin.Unit)))/iframeHeight">iframeHeight</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> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Iframe.Companion$iframe(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.String, kotlin.Int, kotlin.Int, kotlin.collections.Set((pl.treksoft.kvision.html.Sandbox)), kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Iframe, kotlin.Unit)))/sandbox">sandbox</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="../-sandbox/index.html"><span class="identifier">Sandbox</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.html.Iframe.Companion$iframe(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.String, kotlin.Int, kotlin.Int, kotlin.collections.Set((pl.treksoft.kvision.html.Sandbox)), kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Iframe, 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.html.Iframe.Companion$iframe(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.String, kotlin.Int, kotlin.Int, kotlin.collections.Set((pl.treksoft.kvision.html.Sandbox)), kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Iframe, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html"><span class="identifier">Iframe</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="index.html"><span class="identifier">Iframe</span></a></code> +<p>DSL builder extension function.</p> +<p>It takes the same parameters as the constructor of the built component.</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-iframe/index.html b/api1/pl.treksoft.kvision.html/-iframe/index.html new file mode 100644 index 00000000..90f518dc --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-iframe/index.html @@ -0,0 +1,616 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Iframe - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="./index.html">Iframe</a><br/> +<br/> +<h1>Iframe</h1> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Iframe</span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Iframe component.</p> +<h3>Constructors</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-init-.html"><init></a></p> +</td> +<td> +<code><span class="identifier">Iframe</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Iframe$<init>(kotlin.String, kotlin.String, kotlin.String, kotlin.Int, kotlin.Int, kotlin.collections.Set((pl.treksoft.kvision.html.Sandbox)), kotlin.collections.Set((kotlin.String)))/src">src</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.html.Iframe$<init>(kotlin.String, kotlin.String, kotlin.String, kotlin.Int, kotlin.Int, kotlin.collections.Set((pl.treksoft.kvision.html.Sandbox)), kotlin.collections.Set((kotlin.String)))/srcdoc">srcdoc</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.html.Iframe$<init>(kotlin.String, kotlin.String, kotlin.String, kotlin.Int, kotlin.Int, kotlin.collections.Set((pl.treksoft.kvision.html.Sandbox)), kotlin.collections.Set((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> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Iframe$<init>(kotlin.String, kotlin.String, kotlin.String, kotlin.Int, kotlin.Int, kotlin.collections.Set((pl.treksoft.kvision.html.Sandbox)), kotlin.collections.Set((kotlin.String)))/iframeWidth">iframeWidth</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> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Iframe$<init>(kotlin.String, kotlin.String, kotlin.String, kotlin.Int, kotlin.Int, kotlin.collections.Set((pl.treksoft.kvision.html.Sandbox)), kotlin.collections.Set((kotlin.String)))/iframeHeight">iframeHeight</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> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Iframe$<init>(kotlin.String, kotlin.String, kotlin.String, kotlin.Int, kotlin.Int, kotlin.collections.Set((pl.treksoft.kvision.html.Sandbox)), kotlin.collections.Set((kotlin.String)))/sandbox">sandbox</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="../-sandbox/index.html"><span class="identifier">Sandbox</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.html.Iframe$<init>(kotlin.String, kotlin.String, kotlin.String, kotlin.Int, kotlin.Int, kotlin.collections.Set((pl.treksoft.kvision.html.Sandbox)), kotlin.collections.Set((kotlin.String)))/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></code></td> +</tr> +</tbody> +</table> +<h3>Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="iframe-height.html">iframeHeight</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">iframeHeight</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>The height of the iframe.</p> +</td> +</tr> +<tr> +<td> +<p><a href="iframe-width.html">iframeWidth</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">iframeWidth</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>The width of the iframe.</p> +</td> +</tr> +<tr> +<td> +<p><a href="location.html">location</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">location</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 current location URL of the iframe.</p> +</td> +</tr> +<tr> +<td> +<p><a href="name.html">name</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">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></code> +<p>The name of the iframe.</p> +</td> +</tr> +<tr> +<td> +<p><a href="sandbox.html">sandbox</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">sandbox</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="../-sandbox/index.html"><span class="identifier">Sandbox</span></a><span class="symbol">></span><span class="symbol">?</span></code> +<p>A set of Sandbox options.</p> +</td> +</tr> +<tr> +<td> +<p><a href="src.html">src</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">src</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>The iframe document address.</p> +</td> +</tr> +<tr> +<td> +<p><a href="srcdoc.html">srcdoc</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">srcdoc</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>The HTML content of the iframe.</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/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> +</tr> +</tbody> +</table> +<h3>Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="get-iframe-window.html">getIframeWindow</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getIframeWindow</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/-window/index.html"><span class="identifier">Window</span></a></code> +<p>Returns content window object of the iframe.</p> +</td> +</tr> +<tr> +<td> +<p><a href="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="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> +<p>Renders current component as a Snabbdom vnode.</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> +<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(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> +<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(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-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> +<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(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-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> +<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(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="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-context-menu.html">setContextMenu</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">setContextMenu</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$setContextMenu(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> +</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="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Sets an event listener for current widget, keeping the actual type of component.</p> +<code><span class="keyword">open</span> <span class="keyword">fun </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)), 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/index.html"><span class="identifier">Widget</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="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Sets an event listener for current widget.</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> +</tr> +</tbody> +</table> +<h3>Companion Object Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="iframe.html">iframe</a></p> +</td> +<td> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">iframe</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Iframe.Companion$iframe(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.String, kotlin.Int, kotlin.Int, kotlin.collections.Set((pl.treksoft.kvision.html.Sandbox)), kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Iframe, kotlin.Unit)))/src">src</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.html.Iframe.Companion$iframe(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.String, kotlin.Int, kotlin.Int, kotlin.collections.Set((pl.treksoft.kvision.html.Sandbox)), kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Iframe, kotlin.Unit)))/srcdoc">srcdoc</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.html.Iframe.Companion$iframe(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.String, kotlin.Int, kotlin.Int, kotlin.collections.Set((pl.treksoft.kvision.html.Sandbox)), kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Iframe, kotlin.Unit)))/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> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Iframe.Companion$iframe(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.String, kotlin.Int, kotlin.Int, kotlin.collections.Set((pl.treksoft.kvision.html.Sandbox)), kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Iframe, kotlin.Unit)))/iframeWidth">iframeWidth</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> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Iframe.Companion$iframe(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.String, kotlin.Int, kotlin.Int, kotlin.collections.Set((pl.treksoft.kvision.html.Sandbox)), kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Iframe, kotlin.Unit)))/iframeHeight">iframeHeight</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> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Iframe.Companion$iframe(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.String, kotlin.Int, kotlin.Int, kotlin.collections.Set((pl.treksoft.kvision.html.Sandbox)), kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Iframe, kotlin.Unit)))/sandbox">sandbox</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="../-sandbox/index.html"><span class="identifier">Sandbox</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.html.Iframe.Companion$iframe(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.String, kotlin.Int, kotlin.Int, kotlin.collections.Set((pl.treksoft.kvision.html.Sandbox)), kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Iframe, 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.html.Iframe.Companion$iframe(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.String, kotlin.Int, kotlin.Int, kotlin.collections.Set((pl.treksoft.kvision.html.Sandbox)), kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Iframe, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="./index.html"><span class="identifier">Iframe</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="./index.html"><span class="identifier">Iframe</span></a></code> +<p>DSL builder extension function.</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> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-iframe/location.html b/api1/pl.treksoft.kvision.html/-iframe/location.html new file mode 100644 index 00000000..55b5a55b --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-iframe/location.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Iframe.location - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Iframe</a> / <a href="./location.html">location</a><br/> +<br/> +<h1>location</h1> +<a name="pl.treksoft.kvision.html.Iframe$location"></a> +<code><span class="keyword">var </span><span class="identifier">location</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 current location URL of the iframe.</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-iframe/name.html b/api1/pl.treksoft.kvision.html/-iframe/name.html new file mode 100644 index 00000000..94ee6d36 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-iframe/name.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Iframe.name - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Iframe</a> / <a href="./name.html">name</a><br/> +<br/> +<h1>name</h1> +<a name="pl.treksoft.kvision.html.Iframe$name"></a> +<code><span class="keyword">var </span><span class="identifier">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></code> +<p>The name of the iframe.</p> +<p><strong>Getter</strong><br/> +<p>The name of the iframe.</p> +</p> +<p><strong>Setter</strong><br/> +<p>The name of the iframe.</p> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-iframe/render.html b/api1/pl.treksoft.kvision.html/-iframe/render.html new file mode 100644 index 00000000..0228603e --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-iframe/render.html @@ -0,0 +1,18 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Iframe.render - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Iframe</a> / <a href="./render.html">render</a><br/> +<br/> +<h1>render</h1> +<a name="pl.treksoft.kvision.html.Iframe$render()"></a> +<code><span class="keyword">protected</span> <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> +<p>Overrides <a href="../../pl.treksoft.kvision.core/-widget/render.html">Widget.render</a></p> +<p>Renders current component as a Snabbdom vnode.</p> +<p><strong>Return</strong><br/> +Snabbdom vnode</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-iframe/sandbox.html b/api1/pl.treksoft.kvision.html/-iframe/sandbox.html new file mode 100644 index 00000000..2072d0cd --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-iframe/sandbox.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Iframe.sandbox - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Iframe</a> / <a href="./sandbox.html">sandbox</a><br/> +<br/> +<h1>sandbox</h1> +<a name="pl.treksoft.kvision.html.Iframe$sandbox"></a> +<code><span class="keyword">var </span><span class="identifier">sandbox</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="../-sandbox/index.html"><span class="identifier">Sandbox</span></a><span class="symbol">></span><span class="symbol">?</span></code> +<p>A set of Sandbox options.</p> +<p><strong>Getter</strong><br/> +<p>A set of Sandbox options.</p> +</p> +<p><strong>Setter</strong><br/> +<p>A set of Sandbox options.</p> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-iframe/src.html b/api1/pl.treksoft.kvision.html/-iframe/src.html new file mode 100644 index 00000000..a55ef1b9 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-iframe/src.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Iframe.src - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Iframe</a> / <a href="./src.html">src</a><br/> +<br/> +<h1>src</h1> +<a name="pl.treksoft.kvision.html.Iframe$src"></a> +<code><span class="keyword">var </span><span class="identifier">src</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>The iframe document address.</p> +<p><strong>Getter</strong><br/> +<p>The iframe document address.</p> +</p> +<p><strong>Setter</strong><br/> +<p>The iframe document address.</p> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-iframe/srcdoc.html b/api1/pl.treksoft.kvision.html/-iframe/srcdoc.html new file mode 100644 index 00000000..a762a02a --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-iframe/srcdoc.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Iframe.srcdoc - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Iframe</a> / <a href="./srcdoc.html">srcdoc</a><br/> +<br/> +<h1>srcdoc</h1> +<a name="pl.treksoft.kvision.html.Iframe$srcdoc"></a> +<code><span class="keyword">var </span><span class="identifier">srcdoc</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>The HTML content of the iframe.</p> +<p><strong>Getter</strong><br/> +<p>The HTML content of the iframe.</p> +</p> +<p><strong>Setter</strong><br/> +<p>The HTML content of the iframe.</p> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-image-shape/-c-i-r-c-l-e.html b/api1/pl.treksoft.kvision.html/-image-shape/-c-i-r-c-l-e.html new file mode 100644 index 00000000..521ad95e --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-image-shape/-c-i-r-c-l-e.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>ImageShape.CIRCLE - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">ImageShape</a> / <a href="./-c-i-r-c-l-e.html">CIRCLE</a><br/> +<br/> +<h1>CIRCLE</h1> +<a name="pl.treksoft.kvision.html.ImageShape.CIRCLE"></a> +<code><span class="identifier">CIRCLE</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-image-shape/-r-o-u-n-d-e-d.html b/api1/pl.treksoft.kvision.html/-image-shape/-r-o-u-n-d-e-d.html new file mode 100644 index 00000000..726addaf --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-image-shape/-r-o-u-n-d-e-d.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>ImageShape.ROUNDED - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">ImageShape</a> / <a href="./-r-o-u-n-d-e-d.html">ROUNDED</a><br/> +<br/> +<h1>ROUNDED</h1> +<a name="pl.treksoft.kvision.html.ImageShape.ROUNDED"></a> +<code><span class="identifier">ROUNDED</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-image-shape/-t-h-u-m-b-n-a-i-l.html b/api1/pl.treksoft.kvision.html/-image-shape/-t-h-u-m-b-n-a-i-l.html new file mode 100644 index 00000000..43763262 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-image-shape/-t-h-u-m-b-n-a-i-l.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>ImageShape.THUMBNAIL - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">ImageShape</a> / <a href="./-t-h-u-m-b-n-a-i-l.html">THUMBNAIL</a><br/> +<br/> +<h1>THUMBNAIL</h1> +<a name="pl.treksoft.kvision.html.ImageShape.THUMBNAIL"></a> +<code><span class="identifier">THUMBNAIL</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-image-shape/index.html b/api1/pl.treksoft.kvision.html/-image-shape/index.html new file mode 100644 index 00000000..7e577a1a --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-image-shape/index.html @@ -0,0 +1,54 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>ImageShape - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="./index.html">ImageShape</a><br/> +<br/> +<h1>ImageShape</h1> +<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">ImageShape</span></code> +<p>Image shapes.</p> +<h3>Enum Values</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-r-o-u-n-d-e-d.html">ROUNDED</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-c-i-r-c-l-e.html">CIRCLE</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-t-h-u-m-b-n-a-i-l.html">THUMBNAIL</a></p> +</td> +<td> +</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> diff --git a/api1/pl.treksoft.kvision.html/-image/-init-.html b/api1/pl.treksoft.kvision.html/-image/-init-.html new file mode 100644 index 00000000..b0677b33 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-image/-init-.html @@ -0,0 +1,29 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Image.<init> - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Image</a> / <a href="./-init-.html"><init></a><br/> +<br/> +<h1><init></h1> +<a name="pl.treksoft.kvision.html.Image$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))"></a> +<code><span class="identifier">Image</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Image$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/src">src</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-res-string.html"><span class="identifier">ResString</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/alt">alt</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.html.Image$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/responsive">responsive</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.html.Image$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/shape">shape</span><span class="symbol">:</span> <a href="../-image-shape/index.html"><span class="identifier">ImageShape</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/centered">centered</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.html.Image$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/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></code> +<h3>Parameters</h3> +<p><a name="src"></a> +<code>src</code> - image URL</p> +<p><a name="alt"></a> +<code>alt</code> - alternative text</p> +<p><a name="responsive"></a> +<code>responsive</code> - determines if the image is rendered as responsive</p> +<p><a name="shape"></a> +<code>shape</code> - image shape</p> +<p><a name="centered"></a> +<code>centered</code> - determines if the image is rendered centered</p> +<p><a name="classes"></a> +<code>classes</code> - a set of CSS class names</p> +<p><strong>Constructor</strong><br/> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-image/alt.html b/api1/pl.treksoft.kvision.html/-image/alt.html new file mode 100644 index 00000000..3714f0e8 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-image/alt.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Image.alt - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Image</a> / <a href="./alt.html">alt</a><br/> +<br/> +<h1>alt</h1> +<a name="pl.treksoft.kvision.html.Image$alt"></a> +<code><span class="keyword">var </span><span class="identifier">alt</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>The alternative text of the image.</p> +<p><strong>Getter</strong><br/> +<p>The alternative text of the image.</p> +</p> +<p><strong>Setter</strong><br/> +<p>The alternative text of the image.</p> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-image/centered.html b/api1/pl.treksoft.kvision.html/-image/centered.html new file mode 100644 index 00000000..1c0a1eeb --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-image/centered.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Image.centered - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Image</a> / <a href="./centered.html">centered</a><br/> +<br/> +<h1>centered</h1> +<a name="pl.treksoft.kvision.html.Image$centered"></a> +<code><span class="keyword">var </span><span class="identifier">centered</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>Determines if the image is rendered as centered.</p> +<p><strong>Getter</strong><br/> +<p>Determines if the image is rendered as centered.</p> +</p> +<p><strong>Setter</strong><br/> +<p>Determines if the image is rendered as centered.</p> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-image/get-sn-attrs.html b/api1/pl.treksoft.kvision.html/-image/get-sn-attrs.html new file mode 100644 index 00000000..7867afee --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-image/get-sn-attrs.html @@ -0,0 +1,18 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Image.getSnAttrs - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Image</a> / <a href="./get-sn-attrs.html">getSnAttrs</a><br/> +<br/> +<h1>getSnAttrs</h1> +<a name="pl.treksoft.kvision.html.Image$getSnAttrs()"></a> +<code><span class="keyword">protected</span> <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>Overrides <a href="../../pl.treksoft.kvision.core/-widget/get-sn-attrs.html">Widget.getSnAttrs</a></p> +<p>Returns list of element attributes in the form of a List.</p> +<p><strong>Return</strong><br/> +list of element attributes</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-image/get-sn-class.html b/api1/pl.treksoft.kvision.html/-image/get-sn-class.html new file mode 100644 index 00000000..862a60e6 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-image/get-sn-class.html @@ -0,0 +1,18 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Image.getSnClass - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Image</a> / <a href="./get-sn-class.html">getSnClass</a><br/> +<br/> +<h1>getSnClass</h1> +<a name="pl.treksoft.kvision.html.Image$getSnClass()"></a> +<code><span class="keyword">protected</span> <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>Overrides <a href="../../pl.treksoft.kvision.core/-widget/get-sn-class.html">Widget.getSnClass</a></p> +<p>Returns list of CSS class names for current widget in the form of a List.</p> +<p><strong>Return</strong><br/> +list of CSS class names</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-image/image.html b/api1/pl.treksoft.kvision.html/-image/image.html new file mode 100644 index 00000000..639d55e4 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-image/image.html @@ -0,0 +1,16 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Image.image - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Image</a> / <a href="./image.html">image</a><br/> +<br/> +<h1>image</h1> +<a name="pl.treksoft.kvision.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, kotlin.Unit)))"></a> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">image</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, kotlin.Unit)))/src">src</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-res-string.html"><span class="identifier">ResString</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, kotlin.Unit)))/alt">alt</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.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, kotlin.Unit)))/responsive">responsive</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.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, kotlin.Unit)))/shape">shape</span><span class="symbol">:</span> <a href="../-image-shape/index.html"><span class="identifier">ImageShape</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, kotlin.Unit)))/centered">centered</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.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, 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.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html"><span class="identifier">Image</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="index.html"><span class="identifier">Image</span></a></code> +<p>DSL builder extension function.</p> +<p>It takes the same parameters as the constructor of the built component.</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-image/index.html b/api1/pl.treksoft.kvision.html/-image/index.html new file mode 100644 index 00000000..0e2b386d --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-image/index.html @@ -0,0 +1,589 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Image - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="./index.html">Image</a><br/> +<br/> +<h1>Image</h1> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Image</span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Image component.</p> +<h3>Constructors</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-init-.html"><init></a></p> +</td> +<td> +<code><span class="identifier">Image</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Image$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/src">src</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-res-string.html"><span class="identifier">ResString</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/alt">alt</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.html.Image$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/responsive">responsive</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.html.Image$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/shape">shape</span><span class="symbol">:</span> <a href="../-image-shape/index.html"><span class="identifier">ImageShape</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/centered">centered</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.html.Image$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/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></code></td> +</tr> +</tbody> +</table> +<h3>Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="alt.html">alt</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">alt</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>The alternative text of the image.</p> +</td> +</tr> +<tr> +<td> +<p><a href="centered.html">centered</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">centered</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>Determines if the image is rendered as centered.</p> +</td> +</tr> +<tr> +<td> +<p><a href="responsive.html">responsive</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">responsive</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>Determines if the image is rendered as responsive.</p> +</td> +</tr> +<tr> +<td> +<p><a href="shape.html">shape</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">shape</span><span class="symbol">: </span><a href="../-image-shape/index.html"><span class="identifier">ImageShape</span></a><span class="symbol">?</span></code> +<p>The shape of the image.</p> +</td> +</tr> +<tr> +<td> +<p><a href="src.html">src</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">src</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-res-string.html"><span class="identifier">ResString</span></a></code> +<p>URL of the image.</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/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> +</tr> +</tbody> +</table> +<h3>Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="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="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="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> +<p>Renders current component as a Snabbdom vnode.</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> +<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(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> +<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(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-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> +<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(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-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> +<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(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="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-context-menu.html">setContextMenu</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">setContextMenu</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$setContextMenu(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> +</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="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Sets an event listener for current widget, keeping the actual type of component.</p> +<code><span class="keyword">open</span> <span class="keyword">fun </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)), 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/index.html"><span class="identifier">Widget</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="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Sets an event listener for current widget.</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> +</tr> +</tbody> +</table> +<h3>Companion Object Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="image.html">image</a></p> +</td> +<td> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">image</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, kotlin.Unit)))/src">src</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-res-string.html"><span class="identifier">ResString</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, kotlin.Unit)))/alt">alt</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.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, kotlin.Unit)))/responsive">responsive</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.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, kotlin.Unit)))/shape">shape</span><span class="symbol">:</span> <a href="../-image-shape/index.html"><span class="identifier">ImageShape</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, kotlin.Unit)))/centered">centered</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.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, 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.html.Image.Companion$image(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ImageShape, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Image, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="./index.html"><span class="identifier">Image</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="./index.html"><span class="identifier">Image</span></a></code> +<p>DSL builder extension function.</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> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-image/render.html b/api1/pl.treksoft.kvision.html/-image/render.html new file mode 100644 index 00000000..70b1bb90 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-image/render.html @@ -0,0 +1,18 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Image.render - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Image</a> / <a href="./render.html">render</a><br/> +<br/> +<h1>render</h1> +<a name="pl.treksoft.kvision.html.Image$render()"></a> +<code><span class="keyword">protected</span> <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> +<p>Overrides <a href="../../pl.treksoft.kvision.core/-widget/render.html">Widget.render</a></p> +<p>Renders current component as a Snabbdom vnode.</p> +<p><strong>Return</strong><br/> +Snabbdom vnode</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-image/responsive.html b/api1/pl.treksoft.kvision.html/-image/responsive.html new file mode 100644 index 00000000..20d3b977 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-image/responsive.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Image.responsive - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Image</a> / <a href="./responsive.html">responsive</a><br/> +<br/> +<h1>responsive</h1> +<a name="pl.treksoft.kvision.html.Image$responsive"></a> +<code><span class="keyword">var </span><span class="identifier">responsive</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>Determines if the image is rendered as responsive.</p> +<p><strong>Getter</strong><br/> +<p>Determines if the image is rendered as responsive.</p> +</p> +<p><strong>Setter</strong><br/> +<p>Determines if the image is rendered as responsive.</p> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-image/shape.html b/api1/pl.treksoft.kvision.html/-image/shape.html new file mode 100644 index 00000000..2c23cb61 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-image/shape.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Image.shape - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Image</a> / <a href="./shape.html">shape</a><br/> +<br/> +<h1>shape</h1> +<a name="pl.treksoft.kvision.html.Image$shape"></a> +<code><span class="keyword">var </span><span class="identifier">shape</span><span class="symbol">: </span><a href="../-image-shape/index.html"><span class="identifier">ImageShape</span></a><span class="symbol">?</span></code> +<p>The shape of the image.</p> +<p><strong>Getter</strong><br/> +<p>The shape of the image.</p> +</p> +<p><strong>Setter</strong><br/> +<p>The shape of the image.</p> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-image/src.html b/api1/pl.treksoft.kvision.html/-image/src.html new file mode 100644 index 00000000..c78b41b6 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-image/src.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Image.src - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Image</a> / <a href="./src.html">src</a><br/> +<br/> +<h1>src</h1> +<a name="pl.treksoft.kvision.html.Image$src"></a> +<code><span class="keyword">var </span><span class="identifier">src</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-res-string.html"><span class="identifier">ResString</span></a></code> +<p>URL of the image.</p> +<p><strong>Getter</strong><br/> +<p>URL of the image.</p> +</p> +<p><strong>Setter</strong><br/> +<p>URL of the image.</p> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-label/-init-.html b/api1/pl.treksoft.kvision.html/-label/-init-.html new file mode 100644 index 00000000..4b2bf1ef --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-label/-init-.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Label.<init> - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Label</a> / <a href="./-init-.html"><init></a><br/> +<br/> +<h1><init></h1> +<a name="pl.treksoft.kvision.html.Label$<init>(kotlin.String, kotlin.Boolean)"></a> +<code><span class="identifier">Label</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Label$<init>(kotlin.String, kotlin.Boolean)/content">content</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.html.Label$<init>(kotlin.String, kotlin.Boolean)/rich">rich</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></code> +<h3>Parameters</h3> +<p><a name="content"></a> +<code>content</code> - label text</p> +<p><a name="rich"></a> +<code>rich</code> - determines if <a href="#">content</a> can contain HTML code</p> +<p><strong>Constructor</strong><br/> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-label/index.html b/api1/pl.treksoft.kvision.html/-label/index.html new file mode 100644 index 00000000..95ee6660 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-label/index.html @@ -0,0 +1,66 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Label - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="./index.html">Label</a><br/> +<br/> +<h1>Label</h1> +<code><span class="keyword">open</span> <span class="keyword">class </span><s><span class="identifier">Label</span></s> <span class="symbol">:</span> <a href="../-span/index.html"><span class="identifier">Span</span></a></code><br/> +<strong>Deprecated:</strong> Use Span class instead.<br/> +<br/> +<p>Simple label component rendered as <em>span</em>.</p> +<h3>Constructors</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-init-.html"><init></a></p> +</td> +<td> +<code><span class="identifier">Label</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Label$<init>(kotlin.String, kotlin.Boolean)/content">content</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.html.Label$<init>(kotlin.String, kotlin.Boolean)/rich">rich</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></code></td> +</tr> +</tbody> +</table> +<h3>Companion Object Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="label.html">label</a></p> +</td> +<td> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><s><span class="identifier">label</span></s><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Label.Companion$label(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.html.Label, kotlin.Unit)))/content">content</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.html.Label.Companion$label(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.html.Label, kotlin.Unit)))/rich">rich</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.html.Label.Companion$label(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.html.Label, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="./index.html"><span class="identifier">Label</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="./index.html"><span class="identifier">Label</span></a></code> +<p>DSL builder extension function.</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="../set-data.html">setData</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">K</span><span class="symbol">></span> <a href="../-template/index.html"><span class="identifier">Template</span></a><span class="symbol">.</span><span class="identifier">setData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.html.setData.K)))/obj">obj</span><span class="symbol">:</span> <a href="../set-data.html#K"><span class="identifier">K</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.html.setData.K)))/serializer">serializer</span><span class="symbol">:</span> <span class="identifier">SerializationStrategy</span><span class="symbol"><</span><a href="../set-data.html#K"><span class="identifier">K</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><br/> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">K</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> <a href="../-template/index.html"><span class="identifier">Template</span></a><span class="symbol">.</span><span class="identifier">setData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K)/obj">obj</span><span class="symbol">:</span> <a href="../set-data.html#K"><span class="identifier">K</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>Extension function to set serializable object as a template data.</p> +</td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-label/label.html b/api1/pl.treksoft.kvision.html/-label/label.html new file mode 100644 index 00000000..b4b4f9ef --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-label/label.html @@ -0,0 +1,18 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Label.label - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Label</a> / <a href="./label.html">label</a><br/> +<br/> +<h1>label</h1> +<a name="pl.treksoft.kvision.html.Label.Companion$label(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.html.Label, kotlin.Unit)))"></a> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><s><span class="identifier">label</span></s><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Label.Companion$label(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.html.Label, kotlin.Unit)))/content">content</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.html.Label.Companion$label(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.html.Label, kotlin.Unit)))/rich">rich</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.html.Label.Companion$label(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, kotlin.Function1((pl.treksoft.kvision.html.Label, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html"><span class="identifier">Label</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="index.html"><span class="identifier">Label</span></a></code><br/> +<strong>Deprecated:</strong> User Span.Companion.span function instead.<br/> +<br/> +<p>DSL builder extension function.</p> +<p>It takes the same parameters as the constructor of the built component.</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-link/-init-.html b/api1/pl.treksoft.kvision.html/-link/-init-.html new file mode 100644 index 00000000..40df5810 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-link/-init-.html @@ -0,0 +1,27 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Link.<init> - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Link</a> / <a href="./-init-.html"><init></a><br/> +<br/> +<h1><init></h1> +<a name="pl.treksoft.kvision.html.Link$<init>(kotlin.String, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)))"></a> +<code><span class="identifier">Link</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Link$<init>(kotlin.String, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)))/label">label</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.html.Link$<init>(kotlin.String, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)))/url">url</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.html.Link$<init>(kotlin.String, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)))/icon">icon</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.html.Link$<init>(kotlin.String, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)))/image">image</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-res-string.html"><span class="identifier">ResString</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Link$<init>(kotlin.String, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)))/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></code> +<h3>Parameters</h3> +<p><a name="label"></a> +<code>label</code> - link label</p> +<p><a name="url"></a> +<code>url</code> - link URL address</p> +<p><a name="icon"></a> +<code>icon</code> - link icon</p> +<p><a name="image"></a> +<code>image</code> - link image</p> +<p><a name="classes"></a> +<code>classes</code> - a set of CSS class names</p> +<p><strong>Constructor</strong><br/> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-link/get-sn-attrs.html b/api1/pl.treksoft.kvision.html/-link/get-sn-attrs.html new file mode 100644 index 00000000..2adbd0fe --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-link/get-sn-attrs.html @@ -0,0 +1,18 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Link.getSnAttrs - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Link</a> / <a href="./get-sn-attrs.html">getSnAttrs</a><br/> +<br/> +<h1>getSnAttrs</h1> +<a name="pl.treksoft.kvision.html.Link$getSnAttrs()"></a> +<code><span class="keyword">protected</span> <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>Overrides <a href="../../pl.treksoft.kvision.core/-widget/get-sn-attrs.html">Widget.getSnAttrs</a></p> +<p>Returns list of element attributes in the form of a List.</p> +<p><strong>Return</strong><br/> +list of element attributes</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-link/icon.html b/api1/pl.treksoft.kvision.html/-link/icon.html new file mode 100644 index 00000000..1dd6cb19 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-link/icon.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Link.icon - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Link</a> / <a href="./icon.html">icon</a><br/> +<br/> +<h1>icon</h1> +<a name="pl.treksoft.kvision.html.Link$icon"></a> +<code><span class="keyword">var </span><span class="identifier">icon</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>Link icon.</p> +<p><strong>Getter</strong><br/> +<p>Link icon.</p> +</p> +<p><strong>Setter</strong><br/> +<p>Link icon.</p> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-link/image.html b/api1/pl.treksoft.kvision.html/-link/image.html new file mode 100644 index 00000000..2d4687cf --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-link/image.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Link.image - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Link</a> / <a href="./image.html">image</a><br/> +<br/> +<h1>image</h1> +<a name="pl.treksoft.kvision.html.Link$image"></a> +<code><span class="keyword">var </span><span class="identifier">image</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-res-string.html"><span class="identifier">ResString</span></a><span class="symbol">?</span></code> +<p>Link image.</p> +<p><strong>Getter</strong><br/> +<p>Link image.</p> +</p> +<p><strong>Setter</strong><br/> +<p>Link image.</p> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-link/index.html b/api1/pl.treksoft.kvision.html/-link/index.html new file mode 100644 index 00000000..9ff080aa --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-link/index.html @@ -0,0 +1,205 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Link - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="./index.html">Link</a><br/> +<br/> +<h1>Link</h1> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Link</span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a></code> +<p>Link component.</p> +<h3>Constructors</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-init-.html"><init></a></p> +</td> +<td> +<code><span class="identifier">Link</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Link$<init>(kotlin.String, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)))/label">label</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.html.Link$<init>(kotlin.String, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)))/url">url</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.html.Link$<init>(kotlin.String, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)))/icon">icon</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.html.Link$<init>(kotlin.String, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)))/image">image</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-res-string.html"><span class="identifier">ResString</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Link$<init>(kotlin.String, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)))/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></code></td> +</tr> +</tbody> +</table> +<h3>Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="icon.html">icon</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">icon</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>Link icon.</p> +</td> +</tr> +<tr> +<td> +<p><a href="image.html">image</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">image</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-res-string.html"><span class="identifier">ResString</span></a><span class="symbol">?</span></code> +<p>Link image.</p> +</td> +</tr> +<tr> +<td> +<p><a href="label.html">label</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">label</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code> +<p>Link label.</p> +</td> +</tr> +<tr> +<td> +<p><a href="url.html">url</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">url</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>Link URL address.</p> +</td> +</tr> +</tbody> +</table> +<h3>Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="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="on-click.html">onClick</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">onClick</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Link$onClick(kotlin.Function2((pl.treksoft.kvision.html.Link, org.w3c.dom.events.MouseEvent, kotlin.Unit)))/handler">handler</span><span class="symbol">:</span> <a href="./index.html"><span class="identifier">Link</span></a><span class="symbol">.</span><span class="symbol">(</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/org.w3c.dom.events/-mouse-event/index.html"><span class="identifier">MouseEvent</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="./index.html"><span class="identifier">Link</span></a></code> +<p>A convenient helper for easy setting onClick event handler.</p> +</td> +</tr> +<tr> +<td> +<p><a href="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> +<p>Renders current component as a Snabbdom vnode.</p> +</td> +</tr> +</tbody> +</table> +<h3>Inherited Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.panel/-simple-panel/add.html">add</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">add</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.panel.SimplePanel$add(pl.treksoft.kvision.core.Component)/child">child</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a></code> +<p>Adds given component to the current container.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.panel/-simple-panel/add-all.html">addAll</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">addAll</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.panel.SimplePanel$addAll(kotlin.collections.List((pl.treksoft.kvision.core.Component)))/children">children</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/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a></code> +<p>Adds a list of components to the current container.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.panel/-simple-panel/add-internal.html">addInternal</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="identifier">addInternal</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.panel.SimplePanel$addInternal(pl.treksoft.kvision.core.Component)/child">child</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a></code> +<p>Protected and final method to add given component to the current container.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.panel/-simple-panel/children-v-nodes.html">childrenVNodes</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">childrenVNodes</span><span class="symbol">(</span><span class="symbol">)</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="identifier">VNode</span><span class="symbol">></span></code> +<p>Returns the array of the children Snabbdom vnodes.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.panel/-simple-panel/get-children.html">getChildren</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getChildren</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/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">></span></code> +<p>Returns a list of children of the current container.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.panel/-simple-panel/remove.html">remove</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">remove</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.panel.SimplePanel$remove(pl.treksoft.kvision.core.Component)/child">child</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a></code> +<p>Removes given component from the current container.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.panel/-simple-panel/remove-all.html">removeAll</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeAll</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a></code> +<p>Removes all children from the current container.</p> +</td> +</tr> +</tbody> +</table> +<h3>Companion Object Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="link.html">link</a></p> +</td> +<td> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">link</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Link.Companion$link(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))/label">label</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.html.Link.Companion$link(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))/url">url</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.html.Link.Companion$link(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))/icon">icon</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.html.Link.Companion$link(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))/image">image</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-res-string.html"><span class="identifier">ResString</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Link.Companion$link(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, 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.html.Link.Companion$link(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="./index.html"><span class="identifier">Link</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="./index.html"><span class="identifier">Link</span></a></code> +<p>DSL builder extension function.</p> +</td> +</tr> +<tr> +<td> +<p><a href="link-disabled.html">linkDisabled</a></p> +</td> +<td> +<code><span class="keyword">fun </span><a href="../-list-tag/index.html"><span class="identifier">ListTag</span></a><span class="symbol">.</span><span class="identifier">linkDisabled</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Link.Companion$linkDisabled(pl.treksoft.kvision.html.ListTag, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))/label">label</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.html.Link.Companion$linkDisabled(pl.treksoft.kvision.html.ListTag, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))/icon">icon</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.html.Link.Companion$linkDisabled(pl.treksoft.kvision.html.ListTag, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))/image">image</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-res-string.html"><span class="identifier">ResString</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Link.Companion$linkDisabled(pl.treksoft.kvision.html.ListTag, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, 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.html.Link.Companion$linkDisabled(pl.treksoft.kvision.html.ListTag, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="./index.html"><span class="identifier">Link</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="./index.html"><span class="identifier">Link</span></a></code><br/> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.dropdown/-drop-down/index.html"><span class="identifier">DropDown</span></a><span class="symbol">.</span><span class="identifier">linkDisabled</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Link.Companion$linkDisabled(pl.treksoft.kvision.dropdown.DropDown, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))/label">label</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.html.Link.Companion$linkDisabled(pl.treksoft.kvision.dropdown.DropDown, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))/icon">icon</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.html.Link.Companion$linkDisabled(pl.treksoft.kvision.dropdown.DropDown, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))/image">image</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-res-string.html"><span class="identifier">ResString</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Link.Companion$linkDisabled(pl.treksoft.kvision.dropdown.DropDown, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, 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.html.Link.Companion$linkDisabled(pl.treksoft.kvision.dropdown.DropDown, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="./index.html"><span class="identifier">Link</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="./index.html"><span class="identifier">Link</span></a></code> +<p>DSL builder extension function for a disabled link in a dropdown list.</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> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-link/label.html b/api1/pl.treksoft.kvision.html/-link/label.html new file mode 100644 index 00000000..2210e2d1 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-link/label.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Link.label - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Link</a> / <a href="./label.html">label</a><br/> +<br/> +<h1>label</h1> +<a name="pl.treksoft.kvision.html.Link$label"></a> +<code><span class="keyword">var </span><span class="identifier">label</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code> +<p>Link label.</p> +<p><strong>Getter</strong><br/> +<p>Link label.</p> +</p> +<p><strong>Setter</strong><br/> +<p>Link label.</p> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-link/link-disabled.html b/api1/pl.treksoft.kvision.html/-link/link-disabled.html new file mode 100644 index 00000000..4c3ffe22 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-link/link-disabled.html @@ -0,0 +1,18 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Link.linkDisabled - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Link</a> / <a href="./link-disabled.html">linkDisabled</a><br/> +<br/> +<h1>linkDisabled</h1> +<a name="pl.treksoft.kvision.html.Link.Companion$linkDisabled(pl.treksoft.kvision.html.ListTag, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))"></a> +<code><span class="keyword">fun </span><a href="../-list-tag/index.html"><span class="identifier">ListTag</span></a><span class="symbol">.</span><span class="identifier">linkDisabled</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Link.Companion$linkDisabled(pl.treksoft.kvision.html.ListTag, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))/label">label</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.html.Link.Companion$linkDisabled(pl.treksoft.kvision.html.ListTag, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))/icon">icon</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.html.Link.Companion$linkDisabled(pl.treksoft.kvision.html.ListTag, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))/image">image</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-res-string.html"><span class="identifier">ResString</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Link.Companion$linkDisabled(pl.treksoft.kvision.html.ListTag, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, 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.html.Link.Companion$linkDisabled(pl.treksoft.kvision.html.ListTag, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html"><span class="identifier">Link</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="index.html"><span class="identifier">Link</span></a></code><br/> +<a name="pl.treksoft.kvision.html.Link.Companion$linkDisabled(pl.treksoft.kvision.dropdown.DropDown, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))"></a> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.dropdown/-drop-down/index.html"><span class="identifier">DropDown</span></a><span class="symbol">.</span><span class="identifier">linkDisabled</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Link.Companion$linkDisabled(pl.treksoft.kvision.dropdown.DropDown, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))/label">label</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.html.Link.Companion$linkDisabled(pl.treksoft.kvision.dropdown.DropDown, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))/icon">icon</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.html.Link.Companion$linkDisabled(pl.treksoft.kvision.dropdown.DropDown, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))/image">image</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-res-string.html"><span class="identifier">ResString</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Link.Companion$linkDisabled(pl.treksoft.kvision.dropdown.DropDown, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, 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.html.Link.Companion$linkDisabled(pl.treksoft.kvision.dropdown.DropDown, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html"><span class="identifier">Link</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="index.html"><span class="identifier">Link</span></a></code> +<p>DSL builder extension function for a disabled link in a dropdown list.</p> +<p>It takes the same parameters as the constructor of the built component.</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-link/link.html b/api1/pl.treksoft.kvision.html/-link/link.html new file mode 100644 index 00000000..9ebd545f --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-link/link.html @@ -0,0 +1,16 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Link.link - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Link</a> / <a href="./link.html">link</a><br/> +<br/> +<h1>link</h1> +<a name="pl.treksoft.kvision.html.Link.Companion$link(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))"></a> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">link</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Link.Companion$link(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))/label">label</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.html.Link.Companion$link(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))/url">url</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.html.Link.Companion$link(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))/icon">icon</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.html.Link.Companion$link(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))/image">image</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-res-string.html"><span class="identifier">ResString</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Link.Companion$link(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, 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.html.Link.Companion$link(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, kotlin.String, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Link, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html"><span class="identifier">Link</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="index.html"><span class="identifier">Link</span></a></code> +<p>DSL builder extension function.</p> +<p>It takes the same parameters as the constructor of the built component.</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-link/on-click.html b/api1/pl.treksoft.kvision.html/-link/on-click.html new file mode 100644 index 00000000..ca274fbf --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-link/on-click.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Link.onClick - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Link</a> / <a href="./on-click.html">onClick</a><br/> +<br/> +<h1>onClick</h1> +<a name="pl.treksoft.kvision.html.Link$onClick(kotlin.Function2((pl.treksoft.kvision.html.Link, org.w3c.dom.events.MouseEvent, kotlin.Unit)))"></a> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">onClick</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Link$onClick(kotlin.Function2((pl.treksoft.kvision.html.Link, org.w3c.dom.events.MouseEvent, kotlin.Unit)))/handler">handler</span><span class="symbol">:</span> <a href="index.html"><span class="identifier">Link</span></a><span class="symbol">.</span><span class="symbol">(</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/org.w3c.dom.events/-mouse-event/index.html"><span class="identifier">MouseEvent</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="index.html"><span class="identifier">Link</span></a></code> +<p>A convenient helper for easy setting onClick event handler.</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-link/render.html b/api1/pl.treksoft.kvision.html/-link/render.html new file mode 100644 index 00000000..295bfb6f --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-link/render.html @@ -0,0 +1,18 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Link.render - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Link</a> / <a href="./render.html">render</a><br/> +<br/> +<h1>render</h1> +<a name="pl.treksoft.kvision.html.Link$render()"></a> +<code><span class="keyword">protected</span> <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> +<p>Overrides <a href="../../pl.treksoft.kvision.panel/-simple-panel/render.html">SimplePanel.render</a></p> +<p>Renders current component as a Snabbdom vnode.</p> +<p><strong>Return</strong><br/> +Snabbdom vnode</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-link/url.html b/api1/pl.treksoft.kvision.html/-link/url.html new file mode 100644 index 00000000..dd509277 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-link/url.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Link.url - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Link</a> / <a href="./url.html">url</a><br/> +<br/> +<h1>url</h1> +<a name="pl.treksoft.kvision.html.Link$url"></a> +<code><span class="keyword">var </span><span class="identifier">url</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>Link URL address.</p> +<p><strong>Getter</strong><br/> +<p>Link URL address.</p> +</p> +<p><strong>Setter</strong><br/> +<p>Link URL address.</p> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-list-tag/-init-.html b/api1/pl.treksoft.kvision.html/-list-tag/-init-.html new file mode 100644 index 00000000..7e325141 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-list-tag/-init-.html @@ -0,0 +1,27 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>ListTag.<init> - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">ListTag</a> / <a href="./-init-.html"><init></a><br/> +<br/> +<h1><init></h1> +<a name="pl.treksoft.kvision.html.ListTag$<init>(pl.treksoft.kvision.html.ListType, kotlin.collections.List((kotlin.String)), kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.ListTag, kotlin.Unit)))"></a> +<code><span class="identifier">ListTag</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.ListTag$<init>(pl.treksoft.kvision.html.ListType, kotlin.collections.List((kotlin.String)), kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.ListTag, kotlin.Unit)))/type">type</span><span class="symbol">:</span> <a href="../-list-type/index.html"><span class="identifier">ListType</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.ListTag$<init>(pl.treksoft.kvision.html.ListType, kotlin.collections.List((kotlin.String)), kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.ListTag, kotlin.Unit)))/elements">elements</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="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.html.ListTag$<init>(pl.treksoft.kvision.html.ListType, kotlin.collections.List((kotlin.String)), kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.ListTag, kotlin.Unit)))/rich">rich</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.html.ListTag$<init>(pl.treksoft.kvision.html.ListType, kotlin.collections.List((kotlin.String)), kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.ListTag, 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.html.ListTag$<init>(pl.treksoft.kvision.html.ListType, kotlin.collections.List((kotlin.String)), kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.ListTag, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html"><span class="identifier">ListTag</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></code> +<h3>Parameters</h3> +<p><a name="type"></a> +<code>type</code> - list type</p> +<p><a name="elements"></a> +<code>elements</code> - optional list of elements</p> +<p><a name="rich"></a> +<code>rich</code> - determines if <a href="elements.html">elements</a> can contain HTML code</p> +<p><a name="classes"></a> +<code>classes</code> - a set of CSS class names</p> +<p><a name="init"></a> +<code>init</code> - an initializer extension function</p> +<p><strong>Constructor</strong><br/> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-list-tag/children-v-nodes.html b/api1/pl.treksoft.kvision.html/-list-tag/children-v-nodes.html new file mode 100644 index 00000000..e3233ce1 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-list-tag/children-v-nodes.html @@ -0,0 +1,18 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>ListTag.childrenVNodes - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">ListTag</a> / <a href="./children-v-nodes.html">childrenVNodes</a><br/> +<br/> +<h1>childrenVNodes</h1> +<a name="pl.treksoft.kvision.html.ListTag$childrenVNodes()"></a> +<code><span class="keyword">protected</span> <span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">childrenVNodes</span><span class="symbol">(</span><span class="symbol">)</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="identifier">VNode</span><span class="symbol">></span></code> +<p>Overrides <a href="../../pl.treksoft.kvision.panel/-simple-panel/children-v-nodes.html">SimplePanel.childrenVNodes</a></p> +<p>Returns the array of the children Snabbdom vnodes.</p> +<p><strong>Return</strong><br/> +array of children vnodes</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-list-tag/elements.html b/api1/pl.treksoft.kvision.html/-list-tag/elements.html new file mode 100644 index 00000000..0a18d0dc --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-list-tag/elements.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>ListTag.elements - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">ListTag</a> / <a href="./elements.html">elements</a><br/> +<br/> +<h1>elements</h1> +<a name="pl.treksoft.kvision.html.ListTag$elements"></a> +<code><span class="keyword">var </span><span class="identifier">elements</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="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></code> +<p>List of elements.</p> +<p><strong>Getter</strong><br/> +<p>List of elements.</p> +</p> +<p><strong>Setter</strong><br/> +<p>List of elements.</p> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-list-tag/get-sn-class.html b/api1/pl.treksoft.kvision.html/-list-tag/get-sn-class.html new file mode 100644 index 00000000..dfc28cbf --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-list-tag/get-sn-class.html @@ -0,0 +1,18 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>ListTag.getSnClass - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">ListTag</a> / <a href="./get-sn-class.html">getSnClass</a><br/> +<br/> +<h1>getSnClass</h1> +<a name="pl.treksoft.kvision.html.ListTag$getSnClass()"></a> +<code><span class="keyword">protected</span> <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>Overrides <a href="../../pl.treksoft.kvision.core/-widget/get-sn-class.html">Widget.getSnClass</a></p> +<p>Returns list of CSS class names for current widget in the form of a List.</p> +<p><strong>Return</strong><br/> +list of CSS class names</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-list-tag/index.html b/api1/pl.treksoft.kvision.html/-list-tag/index.html new file mode 100644 index 00000000..921c32cc --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-list-tag/index.html @@ -0,0 +1,193 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>ListTag - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="./index.html">ListTag</a><br/> +<br/> +<h1>ListTag</h1> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">ListTag</span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a></code> +<p>HTML list component.</p> +<p>The list component can be populated directly from <em>elements</em> parameter or manually by adding +any <a href="../../pl.treksoft.kvision.core/-component/index.html">Component</a> to the container.</p> +<h3>Constructors</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-init-.html"><init></a></p> +</td> +<td> +<code><span class="identifier">ListTag</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.ListTag$<init>(pl.treksoft.kvision.html.ListType, kotlin.collections.List((kotlin.String)), kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.ListTag, kotlin.Unit)))/type">type</span><span class="symbol">:</span> <a href="../-list-type/index.html"><span class="identifier">ListType</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.ListTag$<init>(pl.treksoft.kvision.html.ListType, kotlin.collections.List((kotlin.String)), kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.ListTag, kotlin.Unit)))/elements">elements</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="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.html.ListTag$<init>(pl.treksoft.kvision.html.ListType, kotlin.collections.List((kotlin.String)), kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.ListTag, kotlin.Unit)))/rich">rich</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.html.ListTag$<init>(pl.treksoft.kvision.html.ListType, kotlin.collections.List((kotlin.String)), kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.ListTag, 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.html.ListTag$<init>(pl.treksoft.kvision.html.ListType, kotlin.collections.List((kotlin.String)), kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.ListTag, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="./index.html"><span class="identifier">ListTag</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></code></td> +</tr> +</tbody> +</table> +<h3>Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="elements.html">elements</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">elements</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="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></code> +<p>List of elements.</p> +</td> +</tr> +<tr> +<td> +<p><a href="rich.html">rich</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">rich</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>Determines if <a href="elements.html">elements</a> can contain HTML code.</p> +</td> +</tr> +<tr> +<td> +<p><a href="type.html">type</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">type</span><span class="symbol">: </span><a href="../-list-type/index.html"><span class="identifier">ListType</span></a></code> +<p>List type.</p> +</td> +</tr> +</tbody> +</table> +<h3>Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="children-v-nodes.html">childrenVNodes</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">childrenVNodes</span><span class="symbol">(</span><span class="symbol">)</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="identifier">VNode</span><span class="symbol">></span></code> +<p>Returns the array of the children Snabbdom vnodes.</p> +</td> +</tr> +<tr> +<td> +<p><a href="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="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> +<p>Renders current component as a Snabbdom vnode.</p> +</td> +</tr> +</tbody> +</table> +<h3>Inherited Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.panel/-simple-panel/add.html">add</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">add</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.panel.SimplePanel$add(pl.treksoft.kvision.core.Component)/child">child</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a></code> +<p>Adds given component to the current container.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.panel/-simple-panel/add-all.html">addAll</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">addAll</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.panel.SimplePanel$addAll(kotlin.collections.List((pl.treksoft.kvision.core.Component)))/children">children</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/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a></code> +<p>Adds a list of components to the current container.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.panel/-simple-panel/add-internal.html">addInternal</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="identifier">addInternal</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.panel.SimplePanel$addInternal(pl.treksoft.kvision.core.Component)/child">child</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a></code> +<p>Protected and final method to add given component to the current container.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.panel/-simple-panel/get-children.html">getChildren</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getChildren</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/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">></span></code> +<p>Returns a list of children of the current container.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.panel/-simple-panel/remove.html">remove</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">remove</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.panel.SimplePanel$remove(pl.treksoft.kvision.core.Component)/child">child</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a></code> +<p>Removes given component from the current container.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.panel/-simple-panel/remove-all.html">removeAll</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeAll</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a></code> +<p>Removes all children from the current container.</p> +</td> +</tr> +</tbody> +</table> +<h3>Companion Object Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="list-tag.html">listTag</a></p> +</td> +<td> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">listTag</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.ListTag.Companion$listTag(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.html.ListType, kotlin.collections.List((kotlin.String)), kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.ListTag, kotlin.Unit)))/type">type</span><span class="symbol">:</span> <a href="../-list-type/index.html"><span class="identifier">ListType</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.ListTag.Companion$listTag(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.html.ListType, kotlin.collections.List((kotlin.String)), kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.ListTag, kotlin.Unit)))/elements">elements</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="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.html.ListTag.Companion$listTag(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.html.ListType, kotlin.collections.List((kotlin.String)), kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.ListTag, kotlin.Unit)))/rich">rich</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.html.ListTag.Companion$listTag(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.html.ListType, kotlin.collections.List((kotlin.String)), kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.ListTag, 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.html.ListTag.Companion$listTag(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.html.ListType, kotlin.collections.List((kotlin.String)), kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.ListTag, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="./index.html"><span class="identifier">ListTag</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="./index.html"><span class="identifier">ListTag</span></a></code> +<p>DSL builder extension function.</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> +</tbody> +</table> +<h3>Inheritors</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.dropdown/-context-menu/index.html">ContextMenu</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">ContextMenu</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">ListTag</span></a></code> +<p>Context menu component.</p> +</td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-list-tag/list-tag.html b/api1/pl.treksoft.kvision.html/-list-tag/list-tag.html new file mode 100644 index 00000000..bb44ee4e --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-list-tag/list-tag.html @@ -0,0 +1,16 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>ListTag.listTag - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">ListTag</a> / <a href="./list-tag.html">listTag</a><br/> +<br/> +<h1>listTag</h1> +<a name="pl.treksoft.kvision.html.ListTag.Companion$listTag(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.html.ListType, kotlin.collections.List((kotlin.String)), kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.ListTag, kotlin.Unit)))"></a> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">listTag</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.ListTag.Companion$listTag(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.html.ListType, kotlin.collections.List((kotlin.String)), kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.ListTag, kotlin.Unit)))/type">type</span><span class="symbol">:</span> <a href="../-list-type/index.html"><span class="identifier">ListType</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.ListTag.Companion$listTag(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.html.ListType, kotlin.collections.List((kotlin.String)), kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.ListTag, kotlin.Unit)))/elements">elements</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="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.html.ListTag.Companion$listTag(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.html.ListType, kotlin.collections.List((kotlin.String)), kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.ListTag, kotlin.Unit)))/rich">rich</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.html.ListTag.Companion$listTag(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.html.ListType, kotlin.collections.List((kotlin.String)), kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.ListTag, 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.html.ListTag.Companion$listTag(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.html.ListType, kotlin.collections.List((kotlin.String)), kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.ListTag, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html"><span class="identifier">ListTag</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="index.html"><span class="identifier">ListTag</span></a></code> +<p>DSL builder extension function.</p> +<p>It takes the same parameters as the constructor of the built component.</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-list-tag/render.html b/api1/pl.treksoft.kvision.html/-list-tag/render.html new file mode 100644 index 00000000..1077bab5 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-list-tag/render.html @@ -0,0 +1,18 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>ListTag.render - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">ListTag</a> / <a href="./render.html">render</a><br/> +<br/> +<h1>render</h1> +<a name="pl.treksoft.kvision.html.ListTag$render()"></a> +<code><span class="keyword">protected</span> <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> +<p>Overrides <a href="../../pl.treksoft.kvision.panel/-simple-panel/render.html">SimplePanel.render</a></p> +<p>Renders current component as a Snabbdom vnode.</p> +<p><strong>Return</strong><br/> +Snabbdom vnode</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-list-tag/rich.html b/api1/pl.treksoft.kvision.html/-list-tag/rich.html new file mode 100644 index 00000000..9224bcac --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-list-tag/rich.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>ListTag.rich - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">ListTag</a> / <a href="./rich.html">rich</a><br/> +<br/> +<h1>rich</h1> +<a name="pl.treksoft.kvision.html.ListTag$rich"></a> +<code><span class="keyword">var </span><span class="identifier">rich</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>Determines if <a href="elements.html">elements</a> can contain HTML code.</p> +<p><strong>Getter</strong><br/> +<p>Determines if <a href="elements.html">elements</a> can contain HTML code.</p> +</p> +<p><strong>Setter</strong><br/> +<p>Determines if <a href="elements.html">elements</a> can contain HTML code.</p> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-list-tag/type.html b/api1/pl.treksoft.kvision.html/-list-tag/type.html new file mode 100644 index 00000000..8b7a41eb --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-list-tag/type.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>ListTag.type - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">ListTag</a> / <a href="./type.html">type</a><br/> +<br/> +<h1>type</h1> +<a name="pl.treksoft.kvision.html.ListTag$type"></a> +<code><span class="keyword">var </span><span class="identifier">type</span><span class="symbol">: </span><a href="../-list-type/index.html"><span class="identifier">ListType</span></a></code> +<p>List type.</p> +<p><strong>Getter</strong><br/> +<p>List type.</p> +</p> +<p><strong>Setter</strong><br/> +<p>List type.</p> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-list-type/-d-l.html b/api1/pl.treksoft.kvision.html/-list-type/-d-l.html new file mode 100644 index 00000000..071936dc --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-list-type/-d-l.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>ListType.DL - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">ListType</a> / <a href="./-d-l.html">DL</a><br/> +<br/> +<h1>DL</h1> +<a name="pl.treksoft.kvision.html.ListType.DL"></a> +<code><span class="identifier">DL</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-list-type/-d-l_-h-o-r-i-z.html b/api1/pl.treksoft.kvision.html/-list-type/-d-l_-h-o-r-i-z.html new file mode 100644 index 00000000..f306772d --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-list-type/-d-l_-h-o-r-i-z.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>ListType.DL_HORIZ - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">ListType</a> / <a href="./-d-l_-h-o-r-i-z.html">DL_HORIZ</a><br/> +<br/> +<h1>DL_HORIZ</h1> +<a name="pl.treksoft.kvision.html.ListType.DL_HORIZ"></a> +<code><span class="identifier">DL_HORIZ</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-list-type/-i-n-l-i-n-e.html b/api1/pl.treksoft.kvision.html/-list-type/-i-n-l-i-n-e.html new file mode 100644 index 00000000..00389cb1 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-list-type/-i-n-l-i-n-e.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>ListType.INLINE - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">ListType</a> / <a href="./-i-n-l-i-n-e.html">INLINE</a><br/> +<br/> +<h1>INLINE</h1> +<a name="pl.treksoft.kvision.html.ListType.INLINE"></a> +<code><span class="identifier">INLINE</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-list-type/-o-l.html b/api1/pl.treksoft.kvision.html/-list-type/-o-l.html new file mode 100644 index 00000000..df83f73a --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-list-type/-o-l.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>ListType.OL - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">ListType</a> / <a href="./-o-l.html">OL</a><br/> +<br/> +<h1>OL</h1> +<a name="pl.treksoft.kvision.html.ListType.OL"></a> +<code><span class="identifier">OL</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-list-type/-u-l.html b/api1/pl.treksoft.kvision.html/-list-type/-u-l.html new file mode 100644 index 00000000..2d42f06c --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-list-type/-u-l.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>ListType.UL - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">ListType</a> / <a href="./-u-l.html">UL</a><br/> +<br/> +<h1>UL</h1> +<a name="pl.treksoft.kvision.html.ListType.UL"></a> +<code><span class="identifier">UL</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-list-type/-u-n-s-t-y-l-e-d.html b/api1/pl.treksoft.kvision.html/-list-type/-u-n-s-t-y-l-e-d.html new file mode 100644 index 00000000..699da8c7 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-list-type/-u-n-s-t-y-l-e-d.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>ListType.UNSTYLED - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">ListType</a> / <a href="./-u-n-s-t-y-l-e-d.html">UNSTYLED</a><br/> +<br/> +<h1>UNSTYLED</h1> +<a name="pl.treksoft.kvision.html.ListType.UNSTYLED"></a> +<code><span class="identifier">UNSTYLED</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-list-type/index.html b/api1/pl.treksoft.kvision.html/-list-type/index.html new file mode 100644 index 00000000..b866f1ff --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-list-type/index.html @@ -0,0 +1,75 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>ListType - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="./index.html">ListType</a><br/> +<br/> +<h1>ListType</h1> +<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">ListType</span></code> +<p>HTML list types.</p> +<h3>Enum Values</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-u-l.html">UL</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-o-l.html">OL</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-u-n-s-t-y-l-e-d.html">UNSTYLED</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-i-n-l-i-n-e.html">INLINE</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-d-l.html">DL</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-d-l_-h-o-r-i-z.html">DL_HORIZ</a></p> +</td> +<td> +</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> diff --git a/api1/pl.treksoft.kvision.html/-p/-init-.html b/api1/pl.treksoft.kvision.html/-p/-init-.html new file mode 100644 index 00000000..c1a572eb --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-p/-init-.html @@ -0,0 +1,27 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>P.<init> - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">P</a> / <a href="./-init-.html"><init></a><br/> +<br/> +<h1><init></h1> +<a name="pl.treksoft.kvision.html.P$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.P, kotlin.Unit)))"></a> +<code><span class="identifier">P</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.P$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.P, kotlin.Unit)))/content">content</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.html.P$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.P, kotlin.Unit)))/rich">rich</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.html.P$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.P, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.P$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.P, 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.html.P$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.P, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html"><span class="identifier">P</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></code> +<h3>Parameters</h3> +<p><a name="content"></a> +<code>content</code> - element text</p> +<p><a name="rich"></a> +<code>rich</code> - determines if <a href="../-tag/content.html">content</a> can contain HTML code</p> +<p><a name="align"></a> +<code>align</code> - content align</p> +<p><a name="classes"></a> +<code>classes</code> - a set of CSS class names</p> +<p><a name="init"></a> +<code>init</code> - an initializer extension function</p> +<p><strong>Constructor</strong><br/> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-p/index.html b/api1/pl.treksoft.kvision.html/-p/index.html new file mode 100644 index 00000000..5706769a --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-p/index.html @@ -0,0 +1,153 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>P - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="./index.html">P</a><br/> +<br/> +<h1>P</h1> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">P</span> <span class="symbol">:</span> <a href="../-tag/index.html"><span class="identifier">Tag</span></a></code> +<p>Simple component rendered as <em>p</em>.</p> +<h3>Constructors</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-init-.html"><init></a></p> +</td> +<td> +<code><span class="identifier">P</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.P$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.P, kotlin.Unit)))/content">content</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.html.P$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.P, kotlin.Unit)))/rich">rich</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.html.P$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.P, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.P$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.P, 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.html.P$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.P, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="./index.html"><span class="identifier">P</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></code></td> +</tr> +</tbody> +</table> +<h3>Inherited Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../-tag/align.html">align</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">align</span><span class="symbol">: </span><a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span></code> +<p>Text align.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/content.html">content</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">content</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>Text content of the tag.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/rich.html">rich</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">rich</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>Determines if <a href="../-tag/content.html">content</a> can contain HTML code.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/template.html">template</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">template</span><span class="symbol">: </span><span class="symbol">(</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="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></code> +<p>Handlebars template.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/templates.html">templates</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">templates</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html"><span class="identifier">Map</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><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="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>Handlebars templates for i18n.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/type.html">type</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">type</span><span class="symbol">: </span><a href="../-t-a-g/index.html"><span class="identifier">TAG</span></a></code> +<p>Tag type.</p> +</td> +</tr> +</tbody> +</table> +<h3>Inherited Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../-tag/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="../-tag/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> +<p>Renders current component as a Snabbdom vnode.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/unary-plus.html">unaryPlus</a></p> +</td> +<td> +<code><span class="keyword">operator</span> <span class="keyword">fun </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">unaryPlus</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> +<h3>Companion Object Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="p.html">p</a></p> +</td> +<td> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">p</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.P.Companion$p(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.P, kotlin.Unit)))/content">content</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.html.P.Companion$p(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.P, kotlin.Unit)))/rich">rich</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.html.P.Companion$p(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.P, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.P.Companion$p(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.P, 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.html.P.Companion$p(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.P, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="./index.html"><span class="identifier">P</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="./index.html"><span class="identifier">P</span></a></code> +<p>DSL builder extension function.</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="../set-data.html">setData</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">K</span><span class="symbol">></span> <a href="../-template/index.html"><span class="identifier">Template</span></a><span class="symbol">.</span><span class="identifier">setData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.html.setData.K)))/obj">obj</span><span class="symbol">:</span> <a href="../set-data.html#K"><span class="identifier">K</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.html.setData.K)))/serializer">serializer</span><span class="symbol">:</span> <span class="identifier">SerializationStrategy</span><span class="symbol"><</span><a href="../set-data.html#K"><span class="identifier">K</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><br/> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">K</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> <a href="../-template/index.html"><span class="identifier">Template</span></a><span class="symbol">.</span><span class="identifier">setData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K)/obj">obj</span><span class="symbol">:</span> <a href="../set-data.html#K"><span class="identifier">K</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>Extension function to set serializable object as a template data.</p> +</td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-p/p.html b/api1/pl.treksoft.kvision.html/-p/p.html new file mode 100644 index 00000000..5d3782a2 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-p/p.html @@ -0,0 +1,16 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>P.p - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">P</a> / <a href="./p.html">p</a><br/> +<br/> +<h1>p</h1> +<a name="pl.treksoft.kvision.html.P.Companion$p(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.P, kotlin.Unit)))"></a> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">p</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.P.Companion$p(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.P, kotlin.Unit)))/content">content</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.html.P.Companion$p(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.P, kotlin.Unit)))/rich">rich</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.html.P.Companion$p(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.P, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.P.Companion$p(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.P, 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.html.P.Companion$p(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.P, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html"><span class="identifier">P</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="index.html"><span class="identifier">P</span></a></code> +<p>DSL builder extension function.</p> +<p>It takes the same parameters as the constructor of the built component.</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-f-o-r-m-s.html b/api1/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-f-o-r-m-s.html new file mode 100644 index 00000000..5a4f8b35 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-f-o-r-m-s.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Sandbox.ALLOWFORMS - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Sandbox</a> / <a href="./-a-l-l-o-w-f-o-r-m-s.html">ALLOWFORMS</a><br/> +<br/> +<h1>ALLOWFORMS</h1> +<a name="pl.treksoft.kvision.html.Sandbox.ALLOWFORMS"></a> +<code><span class="identifier">ALLOWFORMS</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-p-o-i-n-t-e-r-l-o-c-k.html b/api1/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-p-o-i-n-t-e-r-l-o-c-k.html new file mode 100644 index 00000000..a68820bf --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-p-o-i-n-t-e-r-l-o-c-k.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Sandbox.ALLOWPOINTERLOCK - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Sandbox</a> / <a href="./-a-l-l-o-w-p-o-i-n-t-e-r-l-o-c-k.html">ALLOWPOINTERLOCK</a><br/> +<br/> +<h1>ALLOWPOINTERLOCK</h1> +<a name="pl.treksoft.kvision.html.Sandbox.ALLOWPOINTERLOCK"></a> +<code><span class="identifier">ALLOWPOINTERLOCK</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-p-o-p-u-p-s.html b/api1/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-p-o-p-u-p-s.html new file mode 100644 index 00000000..23e09931 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-p-o-p-u-p-s.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Sandbox.ALLOWPOPUPS - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Sandbox</a> / <a href="./-a-l-l-o-w-p-o-p-u-p-s.html">ALLOWPOPUPS</a><br/> +<br/> +<h1>ALLOWPOPUPS</h1> +<a name="pl.treksoft.kvision.html.Sandbox.ALLOWPOPUPS"></a> +<code><span class="identifier">ALLOWPOPUPS</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-s-a-m-e-o-r-i-g-i-n.html b/api1/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-s-a-m-e-o-r-i-g-i-n.html new file mode 100644 index 00000000..89fc7964 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-s-a-m-e-o-r-i-g-i-n.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Sandbox.ALLOWSAMEORIGIN - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Sandbox</a> / <a href="./-a-l-l-o-w-s-a-m-e-o-r-i-g-i-n.html">ALLOWSAMEORIGIN</a><br/> +<br/> +<h1>ALLOWSAMEORIGIN</h1> +<a name="pl.treksoft.kvision.html.Sandbox.ALLOWSAMEORIGIN"></a> +<code><span class="identifier">ALLOWSAMEORIGIN</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-s-c-r-i-p-t-s.html b/api1/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-s-c-r-i-p-t-s.html new file mode 100644 index 00000000..67502431 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-s-c-r-i-p-t-s.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Sandbox.ALLOWSCRIPTS - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Sandbox</a> / <a href="./-a-l-l-o-w-s-c-r-i-p-t-s.html">ALLOWSCRIPTS</a><br/> +<br/> +<h1>ALLOWSCRIPTS</h1> +<a name="pl.treksoft.kvision.html.Sandbox.ALLOWSCRIPTS"></a> +<code><span class="identifier">ALLOWSCRIPTS</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-t-o-p-n-a-v-i-g-a-t-i-o-n.html b/api1/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-t-o-p-n-a-v-i-g-a-t-i-o-n.html new file mode 100644 index 00000000..a5300229 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-t-o-p-n-a-v-i-g-a-t-i-o-n.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Sandbox.ALLOWTOPNAVIGATION - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Sandbox</a> / <a href="./-a-l-l-o-w-t-o-p-n-a-v-i-g-a-t-i-o-n.html">ALLOWTOPNAVIGATION</a><br/> +<br/> +<h1>ALLOWTOPNAVIGATION</h1> +<a name="pl.treksoft.kvision.html.Sandbox.ALLOWTOPNAVIGATION"></a> +<code><span class="identifier">ALLOWTOPNAVIGATION</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-sandbox/index.html b/api1/pl.treksoft.kvision.html/-sandbox/index.html new file mode 100644 index 00000000..d6145aac --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-sandbox/index.html @@ -0,0 +1,75 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Sandbox - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="./index.html">Sandbox</a><br/> +<br/> +<h1>Sandbox</h1> +<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">Sandbox</span></code> +<p>Iframe sandbox options.</p> +<h3>Enum Values</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-a-l-l-o-w-f-o-r-m-s.html">ALLOWFORMS</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-a-l-l-o-w-p-o-i-n-t-e-r-l-o-c-k.html">ALLOWPOINTERLOCK</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-a-l-l-o-w-p-o-p-u-p-s.html">ALLOWPOPUPS</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-a-l-l-o-w-s-a-m-e-o-r-i-g-i-n.html">ALLOWSAMEORIGIN</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-a-l-l-o-w-s-c-r-i-p-t-s.html">ALLOWSCRIPTS</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-a-l-l-o-w-t-o-p-n-a-v-i-g-a-t-i-o-n.html">ALLOWTOPNAVIGATION</a></p> +</td> +<td> +</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> diff --git a/api1/pl.treksoft.kvision.html/-section/-init-.html b/api1/pl.treksoft.kvision.html/-section/-init-.html new file mode 100644 index 00000000..59e6c323 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-section/-init-.html @@ -0,0 +1,27 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Section.<init> - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Section</a> / <a href="./-init-.html"><init></a><br/> +<br/> +<h1><init></h1> +<a name="pl.treksoft.kvision.html.Section$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Section, kotlin.Unit)))"></a> +<code><span class="identifier">Section</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Section$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Section, kotlin.Unit)))/content">content</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.html.Section$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Section, kotlin.Unit)))/rich">rich</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.html.Section$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Section, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Section$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Section, 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.html.Section$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Section, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html"><span class="identifier">Section</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></code> +<h3>Parameters</h3> +<p><a name="content"></a> +<code>content</code> - element text</p> +<p><a name="rich"></a> +<code>rich</code> - determines if <a href="../-tag/content.html">content</a> can contain HTML code</p> +<p><a name="align"></a> +<code>align</code> - content align</p> +<p><a name="classes"></a> +<code>classes</code> - a set of CSS class names</p> +<p><a name="init"></a> +<code>init</code> - an initializer extension function</p> +<p><strong>Constructor</strong><br/> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-section/index.html b/api1/pl.treksoft.kvision.html/-section/index.html new file mode 100644 index 00000000..7a4572ba --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-section/index.html @@ -0,0 +1,153 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Section - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="./index.html">Section</a><br/> +<br/> +<h1>Section</h1> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Section</span> <span class="symbol">:</span> <a href="../-tag/index.html"><span class="identifier">Tag</span></a></code> +<p>Simple component rendered as <em>section</em>.</p> +<h3>Constructors</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-init-.html"><init></a></p> +</td> +<td> +<code><span class="identifier">Section</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Section$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Section, kotlin.Unit)))/content">content</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.html.Section$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Section, kotlin.Unit)))/rich">rich</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.html.Section$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Section, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Section$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Section, 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.html.Section$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Section, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="./index.html"><span class="identifier">Section</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></code></td> +</tr> +</tbody> +</table> +<h3>Inherited Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../-tag/align.html">align</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">align</span><span class="symbol">: </span><a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span></code> +<p>Text align.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/content.html">content</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">content</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>Text content of the tag.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/rich.html">rich</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">rich</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>Determines if <a href="../-tag/content.html">content</a> can contain HTML code.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/template.html">template</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">template</span><span class="symbol">: </span><span class="symbol">(</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="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></code> +<p>Handlebars template.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/templates.html">templates</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">templates</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html"><span class="identifier">Map</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><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="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>Handlebars templates for i18n.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/type.html">type</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">type</span><span class="symbol">: </span><a href="../-t-a-g/index.html"><span class="identifier">TAG</span></a></code> +<p>Tag type.</p> +</td> +</tr> +</tbody> +</table> +<h3>Inherited Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../-tag/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="../-tag/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> +<p>Renders current component as a Snabbdom vnode.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/unary-plus.html">unaryPlus</a></p> +</td> +<td> +<code><span class="keyword">operator</span> <span class="keyword">fun </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">unaryPlus</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> +<h3>Companion Object Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="section.html">section</a></p> +</td> +<td> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">section</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Section.Companion$section(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Section, kotlin.Unit)))/content">content</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.html.Section.Companion$section(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Section, kotlin.Unit)))/rich">rich</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.html.Section.Companion$section(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Section, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Section.Companion$section(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Section, 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.html.Section.Companion$section(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Section, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="./index.html"><span class="identifier">Section</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="./index.html"><span class="identifier">Section</span></a></code> +<p>DSL builder extension function.</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="../set-data.html">setData</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">K</span><span class="symbol">></span> <a href="../-template/index.html"><span class="identifier">Template</span></a><span class="symbol">.</span><span class="identifier">setData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.html.setData.K)))/obj">obj</span><span class="symbol">:</span> <a href="../set-data.html#K"><span class="identifier">K</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.html.setData.K)))/serializer">serializer</span><span class="symbol">:</span> <span class="identifier">SerializationStrategy</span><span class="symbol"><</span><a href="../set-data.html#K"><span class="identifier">K</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><br/> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">K</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> <a href="../-template/index.html"><span class="identifier">Template</span></a><span class="symbol">.</span><span class="identifier">setData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K)/obj">obj</span><span class="symbol">:</span> <a href="../set-data.html#K"><span class="identifier">K</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>Extension function to set serializable object as a template data.</p> +</td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-section/section.html b/api1/pl.treksoft.kvision.html/-section/section.html new file mode 100644 index 00000000..30824f8c --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-section/section.html @@ -0,0 +1,16 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Section.section - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Section</a> / <a href="./section.html">section</a><br/> +<br/> +<h1>section</h1> +<a name="pl.treksoft.kvision.html.Section.Companion$section(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Section, kotlin.Unit)))"></a> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">section</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Section.Companion$section(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Section, kotlin.Unit)))/content">content</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.html.Section.Companion$section(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Section, kotlin.Unit)))/rich">rich</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.html.Section.Companion$section(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Section, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Section.Companion$section(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Section, 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.html.Section.Companion$section(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Section, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html"><span class="identifier">Section</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="index.html"><span class="identifier">Section</span></a></code> +<p>DSL builder extension function.</p> +<p>It takes the same parameters as the constructor of the built component.</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-span/-init-.html b/api1/pl.treksoft.kvision.html/-span/-init-.html new file mode 100644 index 00000000..4a8ad02f --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-span/-init-.html @@ -0,0 +1,27 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Span.<init> - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Span</a> / <a href="./-init-.html"><init></a><br/> +<br/> +<h1><init></h1> +<a name="pl.treksoft.kvision.html.Span$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Span, kotlin.Unit)))"></a> +<code><span class="identifier">Span</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Span$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Span, kotlin.Unit)))/content">content</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.html.Span$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Span, kotlin.Unit)))/rich">rich</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.html.Span$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Span, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Span$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Span, 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.html.Span$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Span, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html"><span class="identifier">Span</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></code> +<h3>Parameters</h3> +<p><a name="content"></a> +<code>content</code> - element text</p> +<p><a name="rich"></a> +<code>rich</code> - determines if <a href="../-tag/content.html">content</a> can contain HTML code</p> +<p><a name="align"></a> +<code>align</code> - content align</p> +<p><a name="classes"></a> +<code>classes</code> - a set of CSS class names</p> +<p><a name="init"></a> +<code>init</code> - an initializer extension function</p> +<p><strong>Constructor</strong><br/> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-span/index.html b/api1/pl.treksoft.kvision.html/-span/index.html new file mode 100644 index 00000000..af5db66c --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-span/index.html @@ -0,0 +1,167 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Span - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="./index.html">Span</a><br/> +<br/> +<h1>Span</h1> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Span</span> <span class="symbol">:</span> <a href="../-tag/index.html"><span class="identifier">Tag</span></a></code> +<p>Simple component rendered as <em>span</em>.</p> +<h3>Constructors</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-init-.html"><init></a></p> +</td> +<td> +<code><span class="identifier">Span</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Span$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Span, kotlin.Unit)))/content">content</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.html.Span$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Span, kotlin.Unit)))/rich">rich</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.html.Span$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Span, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Span$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Span, 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.html.Span$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Span, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="./index.html"><span class="identifier">Span</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></code></td> +</tr> +</tbody> +</table> +<h3>Inherited Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../-tag/align.html">align</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">align</span><span class="symbol">: </span><a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span></code> +<p>Text align.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/content.html">content</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">content</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>Text content of the tag.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/rich.html">rich</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">rich</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>Determines if <a href="../-tag/content.html">content</a> can contain HTML code.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/template.html">template</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">template</span><span class="symbol">: </span><span class="symbol">(</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="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></code> +<p>Handlebars template.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/templates.html">templates</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">templates</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html"><span class="identifier">Map</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><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="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>Handlebars templates for i18n.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/type.html">type</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">type</span><span class="symbol">: </span><a href="../-t-a-g/index.html"><span class="identifier">TAG</span></a></code> +<p>Tag type.</p> +</td> +</tr> +</tbody> +</table> +<h3>Inherited Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../-tag/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="../-tag/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> +<p>Renders current component as a Snabbdom vnode.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-tag/unary-plus.html">unaryPlus</a></p> +</td> +<td> +<code><span class="keyword">operator</span> <span class="keyword">fun </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">unaryPlus</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> +<h3>Companion Object Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="span.html">span</a></p> +</td> +<td> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">span</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Span.Companion$span(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Span, kotlin.Unit)))/content">content</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.html.Span.Companion$span(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Span, kotlin.Unit)))/rich">rich</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.html.Span.Companion$span(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Span, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Span.Companion$span(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Span, 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.html.Span.Companion$span(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Span, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="./index.html"><span class="identifier">Span</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="./index.html"><span class="identifier">Span</span></a></code> +<p>DSL builder extension function.</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="../set-data.html">setData</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">K</span><span class="symbol">></span> <a href="../-template/index.html"><span class="identifier">Template</span></a><span class="symbol">.</span><span class="identifier">setData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.html.setData.K)))/obj">obj</span><span class="symbol">:</span> <a href="../set-data.html#K"><span class="identifier">K</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.html.setData.K)))/serializer">serializer</span><span class="symbol">:</span> <span class="identifier">SerializationStrategy</span><span class="symbol"><</span><a href="../set-data.html#K"><span class="identifier">K</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><br/> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">K</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> <a href="../-template/index.html"><span class="identifier">Template</span></a><span class="symbol">.</span><span class="identifier">setData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K)/obj">obj</span><span class="symbol">:</span> <a href="../set-data.html#K"><span class="identifier">K</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>Extension function to set serializable object as a template data.</p> +</td> +</tr> +</tbody> +</table> +<h3>Inheritors</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../-label/index.html">Label</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><s><span class="identifier">Label</span></s> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">Span</span></a></code> +<p>Simple label component rendered as <em>span</em>.</p> +</td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-span/span.html b/api1/pl.treksoft.kvision.html/-span/span.html new file mode 100644 index 00000000..ef4bf8a7 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-span/span.html @@ -0,0 +1,16 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Span.span - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Span</a> / <a href="./span.html">span</a><br/> +<br/> +<h1>span</h1> +<a name="pl.treksoft.kvision.html.Span.Companion$span(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Span, kotlin.Unit)))"></a> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">span</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Span.Companion$span(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Span, kotlin.Unit)))/content">content</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.html.Span.Companion$span(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Span, kotlin.Unit)))/rich">rich</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.html.Span.Companion$span(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Span, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Span.Companion$span(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Span, 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.html.Span.Companion$span(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.html.Span, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html"><span class="identifier">Span</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="index.html"><span class="identifier">Span</span></a></code> +<p>DSL builder extension function.</p> +<p>It takes the same parameters as the constructor of the built component.</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-a-b-b-r.html b/api1/pl.treksoft.kvision.html/-t-a-g/-a-b-b-r.html new file mode 100644 index 00000000..c461a119 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-t-a-g/-a-b-b-r.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TAG.ABBR - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">TAG</a> / <a href="./-a-b-b-r.html">ABBR</a><br/> +<br/> +<h1>ABBR</h1> +<a name="pl.treksoft.kvision.html.TAG.ABBR"></a> +<code><span class="identifier">ABBR</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-a-d-d-r-e-s-s.html b/api1/pl.treksoft.kvision.html/-t-a-g/-a-d-d-r-e-s-s.html new file mode 100644 index 00000000..f71f09f7 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-t-a-g/-a-d-d-r-e-s-s.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TAG.ADDRESS - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">TAG</a> / <a href="./-a-d-d-r-e-s-s.html">ADDRESS</a><br/> +<br/> +<h1>ADDRESS</h1> +<a name="pl.treksoft.kvision.html.TAG.ADDRESS"></a> +<code><span class="identifier">ADDRESS</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-b-l-o-c-k-q-u-o-t-e.html b/api1/pl.treksoft.kvision.html/-t-a-g/-b-l-o-c-k-q-u-o-t-e.html new file mode 100644 index 00000000..1ff977df --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-t-a-g/-b-l-o-c-k-q-u-o-t-e.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TAG.BLOCKQUOTE - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">TAG</a> / <a href="./-b-l-o-c-k-q-u-o-t-e.html">BLOCKQUOTE</a><br/> +<br/> +<h1>BLOCKQUOTE</h1> +<a name="pl.treksoft.kvision.html.TAG.BLOCKQUOTE"></a> +<code><span class="identifier">BLOCKQUOTE</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-b-r.html b/api1/pl.treksoft.kvision.html/-t-a-g/-b-r.html new file mode 100644 index 00000000..11bf0e4e --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-t-a-g/-b-r.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TAG.BR - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">TAG</a> / <a href="./-b-r.html">BR</a><br/> +<br/> +<h1>BR</h1> +<a name="pl.treksoft.kvision.html.TAG.BR"></a> +<code><span class="identifier">BR</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-b-u-t-t-o-n.html b/api1/pl.treksoft.kvision.html/-t-a-g/-b-u-t-t-o-n.html new file mode 100644 index 00000000..5326d035 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-t-a-g/-b-u-t-t-o-n.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TAG.BUTTON - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">TAG</a> / <a href="./-b-u-t-t-o-n.html">BUTTON</a><br/> +<br/> +<h1>BUTTON</h1> +<a name="pl.treksoft.kvision.html.TAG.BUTTON"></a> +<code><span class="identifier">BUTTON</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-b.html b/api1/pl.treksoft.kvision.html/-t-a-g/-b.html new file mode 100644 index 00000000..2c929dc9 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-t-a-g/-b.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TAG.B - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">TAG</a> / <a href="./-b.html">B</a><br/> +<br/> +<h1>B</h1> +<a name="pl.treksoft.kvision.html.TAG.B"></a> +<code><span class="identifier">B</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-c-a-p-t-i-o-n.html b/api1/pl.treksoft.kvision.html/-t-a-g/-c-a-p-t-i-o-n.html new file mode 100644 index 00000000..0980b5d1 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-t-a-g/-c-a-p-t-i-o-n.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TAG.CAPTION - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">TAG</a> / <a href="./-c-a-p-t-i-o-n.html">CAPTION</a><br/> +<br/> +<h1>CAPTION</h1> +<a name="pl.treksoft.kvision.html.TAG.CAPTION"></a> +<code><span class="identifier">CAPTION</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-c-i-t-e.html b/api1/pl.treksoft.kvision.html/-t-a-g/-c-i-t-e.html new file mode 100644 index 00000000..96dddc39 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-t-a-g/-c-i-t-e.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TAG.CITE - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">TAG</a> / <a href="./-c-i-t-e.html">CITE</a><br/> +<br/> +<h1>CITE</h1> +<a name="pl.treksoft.kvision.html.TAG.CITE"></a> +<code><span class="identifier">CITE</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-c-o-d-e.html b/api1/pl.treksoft.kvision.html/-t-a-g/-c-o-d-e.html new file mode 100644 index 00000000..1b83ea9f --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-t-a-g/-c-o-d-e.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TAG.CODE - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">TAG</a> / <a href="./-c-o-d-e.html">CODE</a><br/> +<br/> +<h1>CODE</h1> +<a name="pl.treksoft.kvision.html.TAG.CODE"></a> +<code><span class="identifier">CODE</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-d-e-l.html b/api1/pl.treksoft.kvision.html/-t-a-g/-d-e-l.html new file mode 100644 index 00000000..b1ebaa48 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-t-a-g/-d-e-l.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TAG.DEL - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">TAG</a> / <a href="./-d-e-l.html">DEL</a><br/> +<br/> +<h1>DEL</h1> +<a name="pl.treksoft.kvision.html.TAG.DEL"></a> +<code><span class="identifier">DEL</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-d-i-v.html b/api1/pl.treksoft.kvision.html/-t-a-g/-d-i-v.html new file mode 100644 index 00000000..64b36880 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-t-a-g/-d-i-v.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TAG.DIV - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">TAG</a> / <a href="./-d-i-v.html">DIV</a><br/> +<br/> +<h1>DIV</h1> +<a name="pl.treksoft.kvision.html.TAG.DIV"></a> +<code><span class="identifier">DIV</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-e-m.html b/api1/pl.treksoft.kvision.html/-t-a-g/-e-m.html new file mode 100644 index 00000000..27c72f6f --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-t-a-g/-e-m.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TAG.EM - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">TAG</a> / <a href="./-e-m.html">EM</a><br/> +<br/> +<h1>EM</h1> +<a name="pl.treksoft.kvision.html.TAG.EM"></a> +<code><span class="identifier">EM</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-f-o-o-t-e-r.html b/api1/pl.treksoft.kvision.html/-t-a-g/-f-o-o-t-e-r.html new file mode 100644 index 00000000..6d7bbd09 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-t-a-g/-f-o-o-t-e-r.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TAG.FOOTER - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">TAG</a> / <a href="./-f-o-o-t-e-r.html">FOOTER</a><br/> +<br/> +<h1>FOOTER</h1> +<a name="pl.treksoft.kvision.html.TAG.FOOTER"></a> +<code><span class="identifier">FOOTER</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-f-o-r-m.html b/api1/pl.treksoft.kvision.html/-t-a-g/-f-o-r-m.html new file mode 100644 index 00000000..e0fd8ae9 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-t-a-g/-f-o-r-m.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TAG.FORM - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">TAG</a> / <a href="./-f-o-r-m.html">FORM</a><br/> +<br/> +<h1>FORM</h1> +<a name="pl.treksoft.kvision.html.TAG.FORM"></a> +<code><span class="identifier">FORM</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-h-e-a-d-e-r.html b/api1/pl.treksoft.kvision.html/-t-a-g/-h-e-a-d-e-r.html new file mode 100644 index 00000000..1fe3e5e4 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-t-a-g/-h-e-a-d-e-r.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TAG.HEADER - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">TAG</a> / <a href="./-h-e-a-d-e-r.html">HEADER</a><br/> +<br/> +<h1>HEADER</h1> +<a name="pl.treksoft.kvision.html.TAG.HEADER"></a> +<code><span class="identifier">HEADER</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-h-r.html b/api1/pl.treksoft.kvision.html/-t-a-g/-h-r.html new file mode 100644 index 00000000..1c3cf202 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-t-a-g/-h-r.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TAG.HR - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">TAG</a> / <a href="./-h-r.html">HR</a><br/> +<br/> +<h1>HR</h1> +<a name="pl.treksoft.kvision.html.TAG.HR"></a> +<code><span class="identifier">HR</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-h1.html b/api1/pl.treksoft.kvision.html/-t-a-g/-h1.html new file mode 100644 index 00000000..68573620 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-t-a-g/-h1.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TAG.H1 - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">TAG</a> / <a href="./-h1.html">H1</a><br/> +<br/> +<h1>H1</h1> +<a name="pl.treksoft.kvision.html.TAG.H1"></a> +<code><span class="identifier">H1</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-h2.html b/api1/pl.treksoft.kvision.html/-t-a-g/-h2.html new file mode 100644 index 00000000..05e2d5f9 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-t-a-g/-h2.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TAG.H2 - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">TAG</a> / <a href="./-h2.html">H2</a><br/> +<br/> +<h1>H2</h1> +<a name="pl.treksoft.kvision.html.TAG.H2"></a> +<code><span class="identifier">H2</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-h3.html b/api1/pl.treksoft.kvision.html/-t-a-g/-h3.html new file mode 100644 index 00000000..73270dfa --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-t-a-g/-h3.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TAG.H3 - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">TAG</a> / <a href="./-h3.html">H3</a><br/> +<br/> +<h1>H3</h1> +<a name="pl.treksoft.kvision.html.TAG.H3"></a> +<code><span class="identifier">H3</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-h4.html b/api1/pl.treksoft.kvision.html/-t-a-g/-h4.html new file mode 100644 index 00000000..701f1131 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-t-a-g/-h4.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TAG.H4 - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">TAG</a> / <a href="./-h4.html">H4</a><br/> +<br/> +<h1>H4</h1> +<a name="pl.treksoft.kvision.html.TAG.H4"></a> +<code><span class="identifier">H4</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-h5.html b/api1/pl.treksoft.kvision.html/-t-a-g/-h5.html new file mode 100644 index 00000000..e58876d2 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-t-a-g/-h5.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TAG.H5 - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">TAG</a> / <a href="./-h5.html">H5</a><br/> +<br/> +<h1>H5</h1> +<a name="pl.treksoft.kvision.html.TAG.H5"></a> +<code><span class="identifier">H5</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-h6.html b/api1/pl.treksoft.kvision.html/-t-a-g/-h6.html new file mode 100644 index 00000000..f43ba6a9 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-t-a-g/-h6.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TAG.H6 - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">TAG</a> / <a href="./-h6.html">H6</a><br/> +<br/> +<h1>H6</h1> +<a name="pl.treksoft.kvision.html.TAG.H6"></a> +<code><span class="identifier">H6</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-i-n-p-u-t.html b/api1/pl.treksoft.kvision.html/-t-a-g/-i-n-p-u-t.html new file mode 100644 index 00000000..800023b8 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-t-a-g/-i-n-p-u-t.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TAG.INPUT - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">TAG</a> / <a href="./-i-n-p-u-t.html">INPUT</a><br/> +<br/> +<h1>INPUT</h1> +<a name="pl.treksoft.kvision.html.TAG.INPUT"></a> +<code><span class="identifier">INPUT</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-i-n-s.html b/api1/pl.treksoft.kvision.html/-t-a-g/-i-n-s.html new file mode 100644 index 00000000..4ab40a36 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-t-a-g/-i-n-s.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TAG.INS - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">TAG</a> / <a href="./-i-n-s.html">INS</a><br/> +<br/> +<h1>INS</h1> +<a name="pl.treksoft.kvision.html.TAG.INS"></a> +<code><span class="identifier">INS</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-i.html b/api1/pl.treksoft.kvision.html/-t-a-g/-i.html new file mode 100644 index 00000000..e455c774 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-t-a-g/-i.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TAG.I - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">TAG</a> / <a href="./-i.html">I</a><br/> +<br/> +<h1>I</h1> +<a name="pl.treksoft.kvision.html.TAG.I"></a> +<code><span class="identifier">I</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-k-b-d.html b/api1/pl.treksoft.kvision.html/-t-a-g/-k-b-d.html new file mode 100644 index 00000000..a343727c --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-t-a-g/-k-b-d.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TAG.KBD - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">TAG</a> / <a href="./-k-b-d.html">KBD</a><br/> +<br/> +<h1>KBD</h1> +<a name="pl.treksoft.kvision.html.TAG.KBD"></a> +<code><span class="identifier">KBD</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-l-a-b-e-l.html b/api1/pl.treksoft.kvision.html/-t-a-g/-l-a-b-e-l.html new file mode 100644 index 00000000..2e1b29a4 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-t-a-g/-l-a-b-e-l.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TAG.LABEL - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">TAG</a> / <a href="./-l-a-b-e-l.html">LABEL</a><br/> +<br/> +<h1>LABEL</h1> +<a name="pl.treksoft.kvision.html.TAG.LABEL"></a> +<code><span class="identifier">LABEL</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-l-i.html b/api1/pl.treksoft.kvision.html/-t-a-g/-l-i.html new file mode 100644 index 00000000..82ce67d0 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-t-a-g/-l-i.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TAG.LI - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">TAG</a> / <a href="./-l-i.html">LI</a><br/> +<br/> +<h1>LI</h1> +<a name="pl.treksoft.kvision.html.TAG.LI"></a> +<code><span class="identifier">LI</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-m-a-r-k.html b/api1/pl.treksoft.kvision.html/-t-a-g/-m-a-r-k.html new file mode 100644 index 00000000..b1019ff5 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-t-a-g/-m-a-r-k.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TAG.MARK - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">TAG</a> / <a href="./-m-a-r-k.html">MARK</a><br/> +<br/> +<h1>MARK</h1> +<a name="pl.treksoft.kvision.html.TAG.MARK"></a> +<code><span class="identifier">MARK</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-o-l.html b/api1/pl.treksoft.kvision.html/-t-a-g/-o-l.html new file mode 100644 index 00000000..bc732339 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-t-a-g/-o-l.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TAG.OL - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">TAG</a> / <a href="./-o-l.html">OL</a><br/> +<br/> +<h1>OL</h1> +<a name="pl.treksoft.kvision.html.TAG.OL"></a> +<code><span class="identifier">OL</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-o-p-t-i-o-n.html b/api1/pl.treksoft.kvision.html/-t-a-g/-o-p-t-i-o-n.html new file mode 100644 index 00000000..6ff46cd8 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-t-a-g/-o-p-t-i-o-n.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TAG.OPTION - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">TAG</a> / <a href="./-o-p-t-i-o-n.html">OPTION</a><br/> +<br/> +<h1>OPTION</h1> +<a name="pl.treksoft.kvision.html.TAG.OPTION"></a> +<code><span class="identifier">OPTION</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-p-r-e.html b/api1/pl.treksoft.kvision.html/-t-a-g/-p-r-e.html new file mode 100644 index 00000000..0e08f247 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-t-a-g/-p-r-e.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TAG.PRE - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">TAG</a> / <a href="./-p-r-e.html">PRE</a><br/> +<br/> +<h1>PRE</h1> +<a name="pl.treksoft.kvision.html.TAG.PRE"></a> +<code><span class="identifier">PRE</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-p.html b/api1/pl.treksoft.kvision.html/-t-a-g/-p.html new file mode 100644 index 00000000..3969fbc3 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-t-a-g/-p.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TAG.P - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">TAG</a> / <a href="./-p.html">P</a><br/> +<br/> +<h1>P</h1> +<a name="pl.treksoft.kvision.html.TAG.P"></a> +<code><span class="identifier">P</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-s-a-m-p.html b/api1/pl.treksoft.kvision.html/-t-a-g/-s-a-m-p.html new file mode 100644 index 00000000..1f19ebac --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-t-a-g/-s-a-m-p.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TAG.SAMP - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">TAG</a> / <a href="./-s-a-m-p.html">SAMP</a><br/> +<br/> +<h1>SAMP</h1> +<a name="pl.treksoft.kvision.html.TAG.SAMP"></a> +<code><span class="identifier">SAMP</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-s-e-c-t-i-o-n.html b/api1/pl.treksoft.kvision.html/-t-a-g/-s-e-c-t-i-o-n.html new file mode 100644 index 00000000..8cc4a029 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-t-a-g/-s-e-c-t-i-o-n.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TAG.SECTION - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">TAG</a> / <a href="./-s-e-c-t-i-o-n.html">SECTION</a><br/> +<br/> +<h1>SECTION</h1> +<a name="pl.treksoft.kvision.html.TAG.SECTION"></a> +<code><span class="identifier">SECTION</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-s-e-l-e-c-t.html b/api1/pl.treksoft.kvision.html/-t-a-g/-s-e-l-e-c-t.html new file mode 100644 index 00000000..ac48ef12 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-t-a-g/-s-e-l-e-c-t.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TAG.SELECT - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">TAG</a> / <a href="./-s-e-l-e-c-t.html">SELECT</a><br/> +<br/> +<h1>SELECT</h1> +<a name="pl.treksoft.kvision.html.TAG.SELECT"></a> +<code><span class="identifier">SELECT</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-s-m-a-l-l.html b/api1/pl.treksoft.kvision.html/-t-a-g/-s-m-a-l-l.html new file mode 100644 index 00000000..25973d35 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-t-a-g/-s-m-a-l-l.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TAG.SMALL - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">TAG</a> / <a href="./-s-m-a-l-l.html">SMALL</a><br/> +<br/> +<h1>SMALL</h1> +<a name="pl.treksoft.kvision.html.TAG.SMALL"></a> +<code><span class="identifier">SMALL</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-s-p-a-n.html b/api1/pl.treksoft.kvision.html/-t-a-g/-s-p-a-n.html new file mode 100644 index 00000000..e56480f5 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-t-a-g/-s-p-a-n.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TAG.SPAN - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">TAG</a> / <a href="./-s-p-a-n.html">SPAN</a><br/> +<br/> +<h1>SPAN</h1> +<a name="pl.treksoft.kvision.html.TAG.SPAN"></a> +<code><span class="identifier">SPAN</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-s-t-r-o-n-g.html b/api1/pl.treksoft.kvision.html/-t-a-g/-s-t-r-o-n-g.html new file mode 100644 index 00000000..49d279c2 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-t-a-g/-s-t-r-o-n-g.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TAG.STRONG - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">TAG</a> / <a href="./-s-t-r-o-n-g.html">STRONG</a><br/> +<br/> +<h1>STRONG</h1> +<a name="pl.treksoft.kvision.html.TAG.STRONG"></a> +<code><span class="identifier">STRONG</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-s.html b/api1/pl.treksoft.kvision.html/-t-a-g/-s.html new file mode 100644 index 00000000..0f0fea89 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-t-a-g/-s.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TAG.S - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">TAG</a> / <a href="./-s.html">S</a><br/> +<br/> +<h1>S</h1> +<a name="pl.treksoft.kvision.html.TAG.S"></a> +<code><span class="identifier">S</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-t-b-o-d-y.html b/api1/pl.treksoft.kvision.html/-t-a-g/-t-b-o-d-y.html new file mode 100644 index 00000000..f15e007a --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-t-a-g/-t-b-o-d-y.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TAG.TBODY - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">TAG</a> / <a href="./-t-b-o-d-y.html">TBODY</a><br/> +<br/> +<h1>TBODY</h1> +<a name="pl.treksoft.kvision.html.TAG.TBODY"></a> +<code><span class="identifier">TBODY</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-t-d.html b/api1/pl.treksoft.kvision.html/-t-a-g/-t-d.html new file mode 100644 index 00000000..2d149f0a --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-t-a-g/-t-d.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TAG.TD - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">TAG</a> / <a href="./-t-d.html">TD</a><br/> +<br/> +<h1>TD</h1> +<a name="pl.treksoft.kvision.html.TAG.TD"></a> +<code><span class="identifier">TD</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-t-h-e-a-d.html b/api1/pl.treksoft.kvision.html/-t-a-g/-t-h-e-a-d.html new file mode 100644 index 00000000..6be9bff4 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-t-a-g/-t-h-e-a-d.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TAG.THEAD - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">TAG</a> / <a href="./-t-h-e-a-d.html">THEAD</a><br/> +<br/> +<h1>THEAD</h1> +<a name="pl.treksoft.kvision.html.TAG.THEAD"></a> +<code><span class="identifier">THEAD</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-t-h.html b/api1/pl.treksoft.kvision.html/-t-a-g/-t-h.html new file mode 100644 index 00000000..7a9a3142 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-t-a-g/-t-h.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TAG.TH - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">TAG</a> / <a href="./-t-h.html">TH</a><br/> +<br/> +<h1>TH</h1> +<a name="pl.treksoft.kvision.html.TAG.TH"></a> +<code><span class="identifier">TH</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-t-r.html b/api1/pl.treksoft.kvision.html/-t-a-g/-t-r.html new file mode 100644 index 00000000..50b3b051 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-t-a-g/-t-r.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TAG.TR - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">TAG</a> / <a href="./-t-r.html">TR</a><br/> +<br/> +<h1>TR</h1> +<a name="pl.treksoft.kvision.html.TAG.TR"></a> +<code><span class="identifier">TR</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-u-l.html b/api1/pl.treksoft.kvision.html/-t-a-g/-u-l.html new file mode 100644 index 00000000..7931b416 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-t-a-g/-u-l.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TAG.UL - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">TAG</a> / <a href="./-u-l.html">UL</a><br/> +<br/> +<h1>UL</h1> +<a name="pl.treksoft.kvision.html.TAG.UL"></a> +<code><span class="identifier">UL</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-u.html b/api1/pl.treksoft.kvision.html/-t-a-g/-u.html new file mode 100644 index 00000000..c05c55e8 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-t-a-g/-u.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TAG.U - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">TAG</a> / <a href="./-u.html">U</a><br/> +<br/> +<h1>U</h1> +<a name="pl.treksoft.kvision.html.TAG.U"></a> +<code><span class="identifier">U</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-v-a-r.html b/api1/pl.treksoft.kvision.html/-t-a-g/-v-a-r.html new file mode 100644 index 00000000..4602af8f --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-t-a-g/-v-a-r.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TAG.VAR - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">TAG</a> / <a href="./-v-a-r.html">VAR</a><br/> +<br/> +<h1>VAR</h1> +<a name="pl.treksoft.kvision.html.TAG.VAR"></a> +<code><span class="identifier">VAR</span></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/index.html b/api1/pl.treksoft.kvision.html/-t-a-g/index.html new file mode 100644 index 00000000..4b916a25 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-t-a-g/index.html @@ -0,0 +1,369 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TAG - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="./index.html">TAG</a><br/> +<br/> +<h1>TAG</h1> +<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">TAG</span></code> +<p>HTML tags.</p> +<h3>Enum Values</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-h1.html">H1</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-h2.html">H2</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-h3.html">H3</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-h4.html">H4</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-h5.html">H5</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-h6.html">H6</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-p.html">P</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-a-b-b-r.html">ABBR</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-a-d-d-r-e-s-s.html">ADDRESS</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-b-l-o-c-k-q-u-o-t-e.html">BLOCKQUOTE</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-s-e-c-t-i-o-n.html">SECTION</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-h-e-a-d-e-r.html">HEADER</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-f-o-o-t-e-r.html">FOOTER</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-p-r-e.html">PRE</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-u-l.html">UL</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-o-l.html">OL</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-d-i-v.html">DIV</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-l-a-b-e-l.html">LABEL</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-i.html">I</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-b.html">B</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-m-a-r-k.html">MARK</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-d-e-l.html">DEL</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-s.html">S</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-i-n-s.html">INS</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-u.html">U</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-s-m-a-l-l.html">SMALL</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-s-t-r-o-n-g.html">STRONG</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-e-m.html">EM</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-c-i-t-e.html">CITE</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-c-o-d-e.html">CODE</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-k-b-d.html">KBD</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-v-a-r.html">VAR</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-s-a-m-p.html">SAMP</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-s-p-a-n.html">SPAN</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-l-i.html">LI</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-h-r.html">HR</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-b-r.html">BR</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-c-a-p-t-i-o-n.html">CAPTION</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-t-h-e-a-d.html">THEAD</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-t-h.html">TH</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-t-b-o-d-y.html">TBODY</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-t-r.html">TR</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-t-d.html">TD</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-f-o-r-m.html">FORM</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-i-n-p-u-t.html">INPUT</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-s-e-l-e-c-t.html">SELECT</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-o-p-t-i-o-n.html">OPTION</a></p> +</td> +<td> +</td> +</tr> +<tr> +<td> +<p><a href="-b-u-t-t-o-n.html">BUTTON</a></p> +</td> +<td> +</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> diff --git a/api1/pl.treksoft.kvision.html/-tag/-init-.html b/api1/pl.treksoft.kvision.html/-tag/-init-.html new file mode 100644 index 00000000..ad400fe6 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-tag/-init-.html @@ -0,0 +1,31 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Tag.<init> - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Tag</a> / <a href="./-init-.html"><init></a><br/> +<br/> +<h1><init></h1> +<a name="pl.treksoft.kvision.html.Tag$<init>(pl.treksoft.kvision.html.TAG, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.collections.Map((kotlin.String, )), kotlin.Function1((pl.treksoft.kvision.html.Tag, kotlin.Unit)))"></a> +<code><span class="identifier">Tag</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Tag$<init>(pl.treksoft.kvision.html.TAG, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.collections.Map((kotlin.String, )), kotlin.Function1((pl.treksoft.kvision.html.Tag, kotlin.Unit)))/type">type</span><span class="symbol">:</span> <a href="../-t-a-g/index.html"><span class="identifier">TAG</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Tag$<init>(pl.treksoft.kvision.html.TAG, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.collections.Map((kotlin.String, )), kotlin.Function1((pl.treksoft.kvision.html.Tag, kotlin.Unit)))/content">content</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.html.Tag$<init>(pl.treksoft.kvision.html.TAG, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.collections.Map((kotlin.String, )), kotlin.Function1((pl.treksoft.kvision.html.Tag, kotlin.Unit)))/rich">rich</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.html.Tag$<init>(pl.treksoft.kvision.html.TAG, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.collections.Map((kotlin.String, )), kotlin.Function1((pl.treksoft.kvision.html.Tag, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Tag$<init>(pl.treksoft.kvision.html.TAG, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.collections.Map((kotlin.String, )), kotlin.Function1((pl.treksoft.kvision.html.Tag, 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.html.Tag$<init>(pl.treksoft.kvision.html.TAG, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.collections.Map((kotlin.String, )), kotlin.Function1((pl.treksoft.kvision.html.Tag, kotlin.Unit)))/attributes">attributes</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html"><span class="identifier">Map</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> <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> mapOf()<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Tag$<init>(pl.treksoft.kvision.html.TAG, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.collections.Map((kotlin.String, )), kotlin.Function1((pl.treksoft.kvision.html.Tag, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html"><span class="identifier">Tag</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></code> +<h3>Parameters</h3> +<p><a name="type"></a> +<code>type</code> - tag type</p> +<p><a name="content"></a> +<code>content</code> - content text of the tag</p> +<p><a name="rich"></a> +<code>rich</code> - determines if <a href="content.html">content</a> can contain HTML code</p> +<p><a name="align"></a> +<code>align</code> - content align</p> +<p><a name="classes"></a> +<code>classes</code> - a set of CSS class names</p> +<p><a name="attributes"></a> +<code>attributes</code> - a map of additional attributes</p> +<p><a name="init"></a> +<code>init</code> - an initializer extension function</p> +<p><strong>Constructor</strong><br/> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-tag/align.html b/api1/pl.treksoft.kvision.html/-tag/align.html new file mode 100644 index 00000000..c7b42a05 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-tag/align.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Tag.align - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Tag</a> / <a href="./align.html">align</a><br/> +<br/> +<h1>align</h1> +<a name="pl.treksoft.kvision.html.Tag$align"></a> +<code><span class="keyword">var </span><span class="identifier">align</span><span class="symbol">: </span><a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span></code> +<p>Text align.</p> +<p><strong>Getter</strong><br/> +<p>Text align.</p> +</p> +<p><strong>Setter</strong><br/> +<p>Text align.</p> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-tag/content.html b/api1/pl.treksoft.kvision.html/-tag/content.html new file mode 100644 index 00000000..42016db7 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-tag/content.html @@ -0,0 +1,22 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Tag.content - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Tag</a> / <a href="./content.html">content</a><br/> +<br/> +<h1>content</h1> +<a name="pl.treksoft.kvision.html.Tag$content"></a> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">content</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>Overrides <a href="../-template/content.html">Template.content</a></p> +<p>Text content of the tag.</p> +<p><strong>Getter</strong><br/> +<p>Text content of the tag.</p> +</p> +<p><strong>Setter</strong><br/> +<p>Text content of the tag.</p> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-tag/get-sn-class.html b/api1/pl.treksoft.kvision.html/-tag/get-sn-class.html new file mode 100644 index 00000000..ce622907 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-tag/get-sn-class.html @@ -0,0 +1,18 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Tag.getSnClass - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Tag</a> / <a href="./get-sn-class.html">getSnClass</a><br/> +<br/> +<h1>getSnClass</h1> +<a name="pl.treksoft.kvision.html.Tag$getSnClass()"></a> +<code><span class="keyword">protected</span> <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>Overrides <a href="../../pl.treksoft.kvision.core/-widget/get-sn-class.html">Widget.getSnClass</a></p> +<p>Returns list of CSS class names for current widget in the form of a List.</p> +<p><strong>Return</strong><br/> +list of CSS class names</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-tag/index.html b/api1/pl.treksoft.kvision.html/-tag/index.html new file mode 100644 index 00000000..105dfdca --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-tag/index.html @@ -0,0 +1,438 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Tag - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="./index.html">Tag</a><br/> +<br/> +<h1>Tag</h1> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Tag</span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a><span class="symbol">, </span><a href="../-template/index.html"><span class="identifier">Template</span></a></code> +<p>HTML tag component.</p> +<h3>Constructors</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-init-.html"><init></a></p> +</td> +<td> +<code><span class="identifier">Tag</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Tag$<init>(pl.treksoft.kvision.html.TAG, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.collections.Map((kotlin.String, )), kotlin.Function1((pl.treksoft.kvision.html.Tag, kotlin.Unit)))/type">type</span><span class="symbol">:</span> <a href="../-t-a-g/index.html"><span class="identifier">TAG</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Tag$<init>(pl.treksoft.kvision.html.TAG, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.collections.Map((kotlin.String, )), kotlin.Function1((pl.treksoft.kvision.html.Tag, kotlin.Unit)))/content">content</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.html.Tag$<init>(pl.treksoft.kvision.html.TAG, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.collections.Map((kotlin.String, )), kotlin.Function1((pl.treksoft.kvision.html.Tag, kotlin.Unit)))/rich">rich</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.html.Tag$<init>(pl.treksoft.kvision.html.TAG, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.collections.Map((kotlin.String, )), kotlin.Function1((pl.treksoft.kvision.html.Tag, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Tag$<init>(pl.treksoft.kvision.html.TAG, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.collections.Map((kotlin.String, )), kotlin.Function1((pl.treksoft.kvision.html.Tag, 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.html.Tag$<init>(pl.treksoft.kvision.html.TAG, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.collections.Map((kotlin.String, )), kotlin.Function1((pl.treksoft.kvision.html.Tag, kotlin.Unit)))/attributes">attributes</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html"><span class="identifier">Map</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> <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> mapOf()<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Tag$<init>(pl.treksoft.kvision.html.TAG, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.collections.Map((kotlin.String, )), kotlin.Function1((pl.treksoft.kvision.html.Tag, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="./index.html"><span class="identifier">Tag</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></code></td> +</tr> +</tbody> +</table> +<h3>Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="align.html">align</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">align</span><span class="symbol">: </span><a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span></code> +<p>Text align.</p> +</td> +</tr> +<tr> +<td> +<p><a href="content.html">content</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">content</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>Text content of the tag.</p> +</td> +</tr> +<tr> +<td> +<p><a href="rich.html">rich</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">rich</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>Determines if <a href="content.html">content</a> can contain HTML code.</p> +</td> +</tr> +<tr> +<td> +<p><a href="template.html">template</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">template</span><span class="symbol">: </span><span class="symbol">(</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="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></code> +<p>Handlebars template.</p> +</td> +</tr> +<tr> +<td> +<p><a href="templates.html">templates</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">templates</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html"><span class="identifier">Map</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><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="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>Handlebars templates for i18n.</p> +</td> +</tr> +<tr> +<td> +<p><a href="type.html">type</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">type</span><span class="symbol">: </span><a href="../-t-a-g/index.html"><span class="identifier">TAG</span></a></code> +<p>Tag type.</p> +</td> +</tr> +</tbody> +</table> +<h3>Inherited Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../-template/template-data.html">templateData</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">templateData</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></code> +<p>Handlebars template data object.</p> +</td> +</tr> +</tbody> +</table> +<h3>Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="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="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> +<p>Renders current component as a Snabbdom vnode.</p> +</td> +</tr> +<tr> +<td> +<p><a href="unary-plus.html">unaryPlus</a></p> +</td> +<td> +<code><span class="keyword">operator</span> <span class="keyword">fun </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">unaryPlus</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> +<h3>Inherited Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.panel/-simple-panel/add.html">add</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">add</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.panel.SimplePanel$add(pl.treksoft.kvision.core.Component)/child">child</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a></code> +<p>Adds given component to the current container.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.panel/-simple-panel/add-all.html">addAll</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">addAll</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.panel.SimplePanel$addAll(kotlin.collections.List((pl.treksoft.kvision.core.Component)))/children">children</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/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a></code> +<p>Adds a list of components to the current container.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.panel/-simple-panel/add-internal.html">addInternal</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="identifier">addInternal</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.panel.SimplePanel$addInternal(pl.treksoft.kvision.core.Component)/child">child</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a></code> +<p>Protected and final method to add given component to the current container.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.panel/-simple-panel/children-v-nodes.html">childrenVNodes</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">childrenVNodes</span><span class="symbol">(</span><span class="symbol">)</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="identifier">VNode</span><span class="symbol">></span></code> +<p>Returns the array of the children Snabbdom vnodes.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.panel/-simple-panel/get-children.html">getChildren</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getChildren</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/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">></span></code> +<p>Returns a list of children of the current container.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.panel/-simple-panel/remove.html">remove</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">remove</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.panel.SimplePanel$remove(pl.treksoft.kvision.core.Component)/child">child</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a></code> +<p>Removes given component from the current container.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.panel/-simple-panel/remove-all.html">removeAll</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeAll</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a></code> +<p>Removes all children from the current container.</p> +</td> +</tr> +</tbody> +</table> +<h3>Companion Object Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="tag.html">tag</a></p> +</td> +<td> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">tag</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Tag.Companion$tag(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.html.TAG, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.collections.Map((kotlin.String, )), kotlin.Function1((pl.treksoft.kvision.html.Tag, kotlin.Unit)))/type">type</span><span class="symbol">:</span> <a href="../-t-a-g/index.html"><span class="identifier">TAG</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Tag.Companion$tag(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.html.TAG, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.collections.Map((kotlin.String, )), kotlin.Function1((pl.treksoft.kvision.html.Tag, kotlin.Unit)))/content">content</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.html.Tag.Companion$tag(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.html.TAG, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.collections.Map((kotlin.String, )), kotlin.Function1((pl.treksoft.kvision.html.Tag, kotlin.Unit)))/rich">rich</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.html.Tag.Companion$tag(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.html.TAG, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.collections.Map((kotlin.String, )), kotlin.Function1((pl.treksoft.kvision.html.Tag, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Tag.Companion$tag(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.html.TAG, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.collections.Map((kotlin.String, )), kotlin.Function1((pl.treksoft.kvision.html.Tag, 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.html.Tag.Companion$tag(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.html.TAG, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.collections.Map((kotlin.String, )), kotlin.Function1((pl.treksoft.kvision.html.Tag, kotlin.Unit)))/attributes">attributes</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html"><span class="identifier">Map</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> <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> mapOf()<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Tag.Companion$tag(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.html.TAG, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.collections.Map((kotlin.String, )), kotlin.Function1((pl.treksoft.kvision.html.Tag, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="./index.html"><span class="identifier">Tag</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="./index.html"><span class="identifier">Tag</span></a></code> +<p>DSL builder extension function.</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="../set-data.html">setData</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">K</span><span class="symbol">></span> <a href="../-template/index.html"><span class="identifier">Template</span></a><span class="symbol">.</span><span class="identifier">setData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.html.setData.K)))/obj">obj</span><span class="symbol">:</span> <a href="../set-data.html#K"><span class="identifier">K</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.html.setData.K)))/serializer">serializer</span><span class="symbol">:</span> <span class="identifier">SerializationStrategy</span><span class="symbol"><</span><a href="../set-data.html#K"><span class="identifier">K</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><br/> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">K</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> <a href="../-template/index.html"><span class="identifier">Template</span></a><span class="symbol">.</span><span class="identifier">setData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K)/obj">obj</span><span class="symbol">:</span> <a href="../set-data.html#K"><span class="identifier">K</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>Extension function to set serializable object as a template data.</p> +</td> +</tr> +</tbody> +</table> +<h3>Inheritors</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.table/-cell/index.html">Cell</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Cell</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">Tag</span></a></code> +<p>HTML table cell component.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-div/index.html">Div</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Div</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">Tag</span></a></code> +<p>Simple component rendered as <em>div</em>.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.form/-field-label/index.html">FieldLabel</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">FieldLabel</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">Tag</span></a></code> +<p>Helper class for HTML label element.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-footer/index.html">Footer</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Footer</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">Tag</span></a></code> +<p>Simple component rendered as <em>footer</em>.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-h1/index.html">H1</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">H1</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">Tag</span></a></code> +<p>Simple component rendered as <em>h1</em>.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-h2/index.html">H2</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">H2</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">Tag</span></a></code> +<p>Simple component rendered as <em>h2</em>.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-h3/index.html">H3</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">H3</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">Tag</span></a></code> +<p>Simple component rendered as <em>h3</em>.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-h4/index.html">H4</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">H4</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">Tag</span></a></code> +<p>Simple component rendered as <em>h4</em>.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-h5/index.html">H5</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">H5</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">Tag</span></a></code> +<p>Simple component rendered as <em>h5</em>.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-h6/index.html">H6</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">H6</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">Tag</span></a></code> +<p>Simple component rendered as <em>h6</em>.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.dropdown/-header/index.html">Header</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Header</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">Tag</span></a></code> +<p>Menu header component.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-header/index.html">Header</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Header</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">Tag</span></a></code> +<p>Simple component rendered as <em>header</em>.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.table/-header-cell/index.html">HeaderCell</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">HeaderCell</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">Tag</span></a></code> +<p>HTML table header cell component.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.form/-help-block/index.html">HelpBlock</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">HelpBlock</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">Tag</span></a></code> +<p>Helper class for Bootstrap help block element.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-icon/index.html">Icon</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Icon</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">Tag</span></a></code> +<p>Icon component with support for FontAwesome and Bootstrap glyphicons.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.navbar/-nav/index.html">Nav</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Nav</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">Tag</span></a></code> +<p>The Bootstrap Nav container.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.navbar/-nav-form/index.html">NavForm</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">NavForm</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">Tag</span></a></code> +<p>The Bootstrap Nav form container.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-p/index.html">P</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">P</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">Tag</span></a></code> +<p>Simple component rendered as <em>p</em>.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.table/-row/index.html">Row</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Row</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">Tag</span></a></code> +<p>HTML table row component.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-section/index.html">Section</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Section</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">Tag</span></a></code> +<p>Simple component rendered as <em>section</em>.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.dropdown/-separator/index.html">Separator</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Separator</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">Tag</span></a></code> +<p>Menu separator component.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-span/index.html">Span</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Span</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">Tag</span></a></code> +<p>Simple component rendered as <em>span</em>.</p> +</td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-tag/render.html b/api1/pl.treksoft.kvision.html/-tag/render.html new file mode 100644 index 00000000..88c3e1fe --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-tag/render.html @@ -0,0 +1,18 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Tag.render - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Tag</a> / <a href="./render.html">render</a><br/> +<br/> +<h1>render</h1> +<a name="pl.treksoft.kvision.html.Tag$render()"></a> +<code><span class="keyword">protected</span> <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> +<p>Overrides <a href="../../pl.treksoft.kvision.panel/-simple-panel/render.html">SimplePanel.render</a></p> +<p>Renders current component as a Snabbdom vnode.</p> +<p><strong>Return</strong><br/> +Snabbdom vnode</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-tag/rich.html b/api1/pl.treksoft.kvision.html/-tag/rich.html new file mode 100644 index 00000000..b2e2d550 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-tag/rich.html @@ -0,0 +1,22 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Tag.rich - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Tag</a> / <a href="./rich.html">rich</a><br/> +<br/> +<h1>rich</h1> +<a name="pl.treksoft.kvision.html.Tag$rich"></a> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">rich</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>Overrides <a href="../-template/rich.html">Template.rich</a></p> +<p>Determines if <a href="content.html">content</a> can contain HTML code.</p> +<p><strong>Getter</strong><br/> +<p>Determines if <a href="content.html">content</a> can contain HTML code.</p> +</p> +<p><strong>Setter</strong><br/> +<p>Determines if <a href="content.html">content</a> can contain HTML code.</p> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-tag/tag.html b/api1/pl.treksoft.kvision.html/-tag/tag.html new file mode 100644 index 00000000..63c03d90 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-tag/tag.html @@ -0,0 +1,16 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Tag.tag - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Tag</a> / <a href="./tag.html">tag</a><br/> +<br/> +<h1>tag</h1> +<a name="pl.treksoft.kvision.html.Tag.Companion$tag(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.html.TAG, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.collections.Map((kotlin.String, )), kotlin.Function1((pl.treksoft.kvision.html.Tag, kotlin.Unit)))"></a> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">tag</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Tag.Companion$tag(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.html.TAG, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.collections.Map((kotlin.String, )), kotlin.Function1((pl.treksoft.kvision.html.Tag, kotlin.Unit)))/type">type</span><span class="symbol">:</span> <a href="../-t-a-g/index.html"><span class="identifier">TAG</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Tag.Companion$tag(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.html.TAG, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.collections.Map((kotlin.String, )), kotlin.Function1((pl.treksoft.kvision.html.Tag, kotlin.Unit)))/content">content</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.html.Tag.Companion$tag(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.html.TAG, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.collections.Map((kotlin.String, )), kotlin.Function1((pl.treksoft.kvision.html.Tag, kotlin.Unit)))/rich">rich</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.html.Tag.Companion$tag(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.html.TAG, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.collections.Map((kotlin.String, )), kotlin.Function1((pl.treksoft.kvision.html.Tag, kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Tag.Companion$tag(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.html.TAG, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.collections.Map((kotlin.String, )), kotlin.Function1((pl.treksoft.kvision.html.Tag, 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.html.Tag.Companion$tag(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.html.TAG, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.collections.Map((kotlin.String, )), kotlin.Function1((pl.treksoft.kvision.html.Tag, kotlin.Unit)))/attributes">attributes</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html"><span class="identifier">Map</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> <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> mapOf()<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html.Tag.Companion$tag(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.html.TAG, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, kotlin.collections.Set((kotlin.String)), kotlin.collections.Map((kotlin.String, )), kotlin.Function1((pl.treksoft.kvision.html.Tag, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html"><span class="identifier">Tag</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="index.html"><span class="identifier">Tag</span></a></code> +<p>DSL builder extension function.</p> +<p>It takes the same parameters as the constructor of the built component.</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-tag/template.html b/api1/pl.treksoft.kvision.html/-tag/template.html new file mode 100644 index 00000000..c33a1d3d --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-tag/template.html @@ -0,0 +1,22 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Tag.template - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Tag</a> / <a href="./template.html">template</a><br/> +<br/> +<h1>template</h1> +<a name="pl.treksoft.kvision.html.Tag$template"></a> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">template</span><span class="symbol">: </span><span class="symbol">(</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="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></code> +<p>Overrides <a href="../-template/template.html">Template.template</a></p> +<p>Handlebars template.</p> +<p><strong>Getter</strong><br/> +<p>Handlebars template.</p> +</p> +<p><strong>Setter</strong><br/> +<p>Handlebars template.</p> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-tag/templates.html b/api1/pl.treksoft.kvision.html/-tag/templates.html new file mode 100644 index 00000000..35efa286 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-tag/templates.html @@ -0,0 +1,22 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Tag.templates - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Tag</a> / <a href="./templates.html">templates</a><br/> +<br/> +<h1>templates</h1> +<a name="pl.treksoft.kvision.html.Tag$templates"></a> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">templates</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html"><span class="identifier">Map</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><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="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>Overrides <a href="../-template/templates.html">Template.templates</a></p> +<p>Handlebars templates for i18n.</p> +<p><strong>Getter</strong><br/> +<p>Handlebars templates for i18n.</p> +</p> +<p><strong>Setter</strong><br/> +<p>Handlebars templates for i18n.</p> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-tag/type.html b/api1/pl.treksoft.kvision.html/-tag/type.html new file mode 100644 index 00000000..f20975ec --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-tag/type.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Tag.type - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Tag</a> / <a href="./type.html">type</a><br/> +<br/> +<h1>type</h1> +<a name="pl.treksoft.kvision.html.Tag$type"></a> +<code><span class="keyword">var </span><span class="identifier">type</span><span class="symbol">: </span><a href="../-t-a-g/index.html"><span class="identifier">TAG</span></a></code> +<p>Tag type.</p> +<p><strong>Getter</strong><br/> +<p>Tag type.</p> +</p> +<p><strong>Setter</strong><br/> +<p>Tag type.</p> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-tag/unary-plus.html b/api1/pl.treksoft.kvision.html/-tag/unary-plus.html new file mode 100644 index 00000000..4b2f8623 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-tag/unary-plus.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Tag.unaryPlus - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Tag</a> / <a href="./unary-plus.html">unaryPlus</a><br/> +<br/> +<h1>unaryPlus</h1> +<a name="pl.treksoft.kvision.html.Tag$unaryPlus(kotlin.String)"></a> +<code><span class="keyword">operator</span> <span class="keyword">fun </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">unaryPlus</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/api1/pl.treksoft.kvision.html/-template/content.html b/api1/pl.treksoft.kvision.html/-template/content.html new file mode 100644 index 00000000..0910458f --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-template/content.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Template.content - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Template</a> / <a href="./content.html">content</a><br/> +<br/> +<h1>content</h1> +<a name="pl.treksoft.kvision.html.Template$content"></a> +<code><span class="keyword">abstract</span> <span class="keyword">var </span><span class="identifier">content</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> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-template/index.html b/api1/pl.treksoft.kvision.html/-template/index.html new file mode 100644 index 00000000..4f3fe7a8 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-template/index.html @@ -0,0 +1,94 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Template - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="./index.html">Template</a><br/> +<br/> +<h1>Template</h1> +<code><span class="keyword">interface </span><span class="identifier">Template</span></code> +<p>Handlebars templates helper interface.</p> +<h3>Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="content.html">content</a></p> +</td> +<td> +<code><span class="keyword">abstract</span> <span class="keyword">var </span><span class="identifier">content</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="rich.html">rich</a></p> +</td> +<td> +<code><span class="keyword">abstract</span> <span class="keyword">var </span><span class="identifier">rich</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="template.html">template</a></p> +</td> +<td> +<code><span class="keyword">abstract</span> <span class="keyword">var </span><span class="identifier">template</span><span class="symbol">: </span><span class="symbol">(</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="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></code></td> +</tr> +<tr> +<td> +<p><a href="template-data.html">templateData</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">templateData</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></code> +<p>Handlebars template data object.</p> +</td> +</tr> +<tr> +<td> +<p><a href="templates.html">templates</a></p> +</td> +<td> +<code><span class="keyword">abstract</span> <span class="keyword">var </span><span class="identifier">templates</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html"><span class="identifier">Map</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><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="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> +</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="../set-data.html">setData</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">K</span><span class="symbol">></span> <a href="./index.html"><span class="identifier">Template</span></a><span class="symbol">.</span><span class="identifier">setData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.html.setData.K)))/obj">obj</span><span class="symbol">:</span> <a href="../set-data.html#K"><span class="identifier">K</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.html.setData.K)))/serializer">serializer</span><span class="symbol">:</span> <span class="identifier">SerializationStrategy</span><span class="symbol"><</span><a href="../set-data.html#K"><span class="identifier">K</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><br/> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">K</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> <a href="./index.html"><span class="identifier">Template</span></a><span class="symbol">.</span><span class="identifier">setData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K)/obj">obj</span><span class="symbol">:</span> <a href="../set-data.html#K"><span class="identifier">K</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>Extension function to set serializable object as a template data.</p> +</td> +</tr> +</tbody> +</table> +<h3>Inheritors</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../-tag/index.html">Tag</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Tag</span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">Template</span></a></code> +<p>HTML tag component.</p> +</td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-template/rich.html b/api1/pl.treksoft.kvision.html/-template/rich.html new file mode 100644 index 00000000..66e3bcbd --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-template/rich.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Template.rich - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Template</a> / <a href="./rich.html">rich</a><br/> +<br/> +<h1>rich</h1> +<a name="pl.treksoft.kvision.html.Template$rich"></a> +<code><span class="keyword">abstract</span> <span class="keyword">var </span><span class="identifier">rich</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/api1/pl.treksoft.kvision.html/-template/template-data.html b/api1/pl.treksoft.kvision.html/-template/template-data.html new file mode 100644 index 00000000..4e4f7a9c --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-template/template-data.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Template.templateData - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Template</a> / <a href="./template-data.html">templateData</a><br/> +<br/> +<h1>templateData</h1> +<a name="pl.treksoft.kvision.html.Template$templateData"></a> +<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">templateData</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></code> +<p>Handlebars template data object.</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-template/template.html b/api1/pl.treksoft.kvision.html/-template/template.html new file mode 100644 index 00000000..d32194af --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-template/template.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Template.template - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Template</a> / <a href="./template.html">template</a><br/> +<br/> +<h1>template</h1> +<a name="pl.treksoft.kvision.html.Template$template"></a> +<code><span class="keyword">abstract</span> <span class="keyword">var </span><span class="identifier">template</span><span class="symbol">: </span><span class="symbol">(</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="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></code> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/-template/templates.html b/api1/pl.treksoft.kvision.html/-template/templates.html new file mode 100644 index 00000000..8a25f0d0 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-template/templates.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Template.templates - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.html</a> / <a href="index.html">Template</a> / <a href="./templates.html">templates</a><br/> +<br/> +<h1>templates</h1> +<a name="pl.treksoft.kvision.html.Template$templates"></a> +<code><span class="keyword">abstract</span> <span class="keyword">var </span><span class="identifier">templates</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html"><span class="identifier">Map</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><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="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> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/index.html b/api1/pl.treksoft.kvision.html/index.html new file mode 100644 index 00000000..d6fe172a --- /dev/null +++ b/api1/pl.treksoft.kvision.html/index.html @@ -0,0 +1,304 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>pl.treksoft.kvision.html - kvision</title> +<link rel="stylesheet" href="../../style.css"> +</HEAD> +<BODY> +<a href="../index.html">kvision</a> / <a href="./index.html">pl.treksoft.kvision.html</a><br/> +<br/> +<h2>Package pl.treksoft.kvision.html</h2> +<p>Components supporting complete set of HTML tags, with dedicated classes for buttons, images, links, lists and iframe. +Support for Handlebars.js templates is included.</p> +<h3>Types</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-align/index.html">Align</a></p> +</td> +<td> +<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">Align</span></code> +<p>CSS align attributes.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-button/index.html">Button</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Button</span> <span class="symbol">:</span> <a href="../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Button component.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-button-size/index.html">ButtonSize</a></p> +</td> +<td> +<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">ButtonSize</span></code> +<p>Button sizes.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-button-style/index.html">ButtonStyle</a></p> +</td> +<td> +<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">ButtonStyle</span></code> +<p>Button styles.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-button-type/index.html">ButtonType</a></p> +</td> +<td> +<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">ButtonType</span></code> +<p>Button types.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-canvas/index.html">Canvas</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Canvas</span> <span class="symbol">:</span> <a href="../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Canvas component.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-div/index.html">Div</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Div</span> <span class="symbol">:</span> <a href="-tag/index.html"><span class="identifier">Tag</span></a></code> +<p>Simple component rendered as <em>div</em>.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-footer/index.html">Footer</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Footer</span> <span class="symbol">:</span> <a href="-tag/index.html"><span class="identifier">Tag</span></a></code> +<p>Simple component rendered as <em>footer</em>.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-h1/index.html">H1</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">H1</span> <span class="symbol">:</span> <a href="-tag/index.html"><span class="identifier">Tag</span></a></code> +<p>Simple component rendered as <em>h1</em>.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-h2/index.html">H2</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">H2</span> <span class="symbol">:</span> <a href="-tag/index.html"><span class="identifier">Tag</span></a></code> +<p>Simple component rendered as <em>h2</em>.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-h3/index.html">H3</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">H3</span> <span class="symbol">:</span> <a href="-tag/index.html"><span class="identifier">Tag</span></a></code> +<p>Simple component rendered as <em>h3</em>.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-h4/index.html">H4</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">H4</span> <span class="symbol">:</span> <a href="-tag/index.html"><span class="identifier">Tag</span></a></code> +<p>Simple component rendered as <em>h4</em>.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-h5/index.html">H5</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">H5</span> <span class="symbol">:</span> <a href="-tag/index.html"><span class="identifier">Tag</span></a></code> +<p>Simple component rendered as <em>h5</em>.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-h6/index.html">H6</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">H6</span> <span class="symbol">:</span> <a href="-tag/index.html"><span class="identifier">Tag</span></a></code> +<p>Simple component rendered as <em>h6</em>.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-header/index.html">Header</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Header</span> <span class="symbol">:</span> <a href="-tag/index.html"><span class="identifier">Tag</span></a></code> +<p>Simple component rendered as <em>header</em>.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-icon/index.html">Icon</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Icon</span> <span class="symbol">:</span> <a href="-tag/index.html"><span class="identifier">Tag</span></a></code> +<p>Icon component with support for FontAwesome and Bootstrap glyphicons.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-iframe/index.html">Iframe</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Iframe</span> <span class="symbol">:</span> <a href="../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Iframe component.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-image/index.html">Image</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Image</span> <span class="symbol">:</span> <a href="../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Image component.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-image-shape/index.html">ImageShape</a></p> +</td> +<td> +<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">ImageShape</span></code> +<p>Image shapes.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-label/index.html">Label</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><s><span class="identifier">Label</span></s> <span class="symbol">:</span> <a href="-span/index.html"><span class="identifier">Span</span></a></code> +<p>Simple label component rendered as <em>span</em>.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-link/index.html">Link</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Link</span> <span class="symbol">:</span> <a href="../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a></code> +<p>Link component.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-list-tag/index.html">ListTag</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">ListTag</span> <span class="symbol">:</span> <a href="../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a></code> +<p>HTML list component.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-list-type/index.html">ListType</a></p> +</td> +<td> +<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">ListType</span></code> +<p>HTML list types.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-p/index.html">P</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">P</span> <span class="symbol">:</span> <a href="-tag/index.html"><span class="identifier">Tag</span></a></code> +<p>Simple component rendered as <em>p</em>.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-sandbox/index.html">Sandbox</a></p> +</td> +<td> +<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">Sandbox</span></code> +<p>Iframe sandbox options.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-section/index.html">Section</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Section</span> <span class="symbol">:</span> <a href="-tag/index.html"><span class="identifier">Tag</span></a></code> +<p>Simple component rendered as <em>section</em>.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-span/index.html">Span</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Span</span> <span class="symbol">:</span> <a href="-tag/index.html"><span class="identifier">Tag</span></a></code> +<p>Simple component rendered as <em>span</em>.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-t-a-g/index.html">TAG</a></p> +</td> +<td> +<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">TAG</span></code> +<p>HTML tags.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-tag/index.html">Tag</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Tag</span> <span class="symbol">:</span> <a href="../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a><span class="symbol">, </span><a href="-template/index.html"><span class="identifier">Template</span></a></code> +<p>HTML tag component.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-template/index.html">Template</a></p> +</td> +<td> +<code><span class="keyword">interface </span><span class="identifier">Template</span></code> +<p>Handlebars templates helper interface.</p> +</td> +</tr> +</tbody> +</table> +<h3>Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="set-data.html">setData</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">K</span><span class="symbol">></span> <a href="-template/index.html"><span class="identifier">Template</span></a><span class="symbol">.</span><span class="identifier">setData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.html.setData.K)))/obj">obj</span><span class="symbol">:</span> <a href="set-data.html#K"><span class="identifier">K</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.html.setData.K)))/serializer">serializer</span><span class="symbol">:</span> <span class="identifier">SerializationStrategy</span><span class="symbol"><</span><a href="set-data.html#K"><span class="identifier">K</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><br/> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">K</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> <a href="-template/index.html"><span class="identifier">Template</span></a><span class="symbol">.</span><span class="identifier">setData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K)/obj">obj</span><span class="symbol">:</span> <a href="set-data.html#K"><span class="identifier">K</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>Extension function to set serializable object as a template data.</p> +</td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.html/set-data.html b/api1/pl.treksoft.kvision.html/set-data.html new file mode 100644 index 00000000..c1ef1e82 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/set-data.html @@ -0,0 +1,17 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>setData - kvision</title> +<link rel="stylesheet" href="../../style.css"> +</HEAD> +<BODY> +<a href="../index.html">kvision</a> / <a href="index.html">pl.treksoft.kvision.html</a> / <a href="./set-data.html">setData</a><br/> +<br/> +<h1>setData</h1> +<a name="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.html.setData.K)))"></a> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">K</span><span class="symbol">></span> <a href="-template/index.html"><span class="identifier">Template</span></a><span class="symbol">.</span><span class="identifier">setData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.html.setData.K)))/obj">obj</span><span class="symbol">:</span> <a href="set-data.html#K"><span class="identifier">K</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.html.setData.K)))/serializer">serializer</span><span class="symbol">:</span> <span class="identifier">SerializationStrategy</span><span class="symbol"><</span><a href="set-data.html#K"><span class="identifier">K</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><br/> +<a name="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K)"></a> +<code><span class="keyword">inline</span> <span class="keyword">fun </span><span class="symbol"><</span><span class="keyword">reified</span> <span class="identifier">K</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> <a href="-template/index.html"><span class="identifier">Template</span></a><span class="symbol">.</span><span class="identifier">setData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K)/obj">obj</span><span class="symbol">:</span> <a href="set-data.html#K"><span class="identifier">K</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>Extension function to set serializable object as a template data.</p> +</BODY> +</HTML> |