diff options
author | Robert Jaros <rjaros@finn.pl> | 2018-02-09 13:40:35 +0100 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2018-02-09 13:40:35 +0100 |
commit | d8cd67062b8de6e8398dc6dfd00d201200c82414 (patch) | |
tree | 601082ec1eec73bc7a7d6ce8b51352e5345ffe81 /docs/api/pl.treksoft.kvision.modal | |
parent | 955304789ea83aceacbdf4c8a9eb742f6c2518f6 (diff) | |
download | kvision-d8cd67062b8de6e8398dc6dfd00d201200c82414.tar.gz kvision-d8cd67062b8de6e8398dc6dfd00d201200c82414.tar.bz2 kvision-d8cd67062b8de6e8398dc6dfd00d201200c82414.zip |
API doc and readme
Diffstat (limited to 'docs/api/pl.treksoft.kvision.modal')
40 files changed, 1732 insertions, 0 deletions
diff --git a/docs/api/pl.treksoft.kvision.modal/-alert/-init-.html b/docs/api/pl.treksoft.kvision.modal/-alert/-init-.html new file mode 100644 index 00000000..6843304e --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-alert/-init-.html @@ -0,0 +1,31 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Alert.<init> - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.modal</a> / <a href="index.html">Alert</a> / <a href="./-init-.html"><init></a><br/> +<br/> +<h1><init></h1> +<a name="pl.treksoft.kvision.modal.Alert$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Function0((kotlin.Unit)))"></a> +<code><span class="identifier">Alert</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.modal.Alert$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Function0((kotlin.Unit)))/caption">caption</span><span class="symbol">:</span> <a href="https://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.modal.Alert$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Function0((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="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Alert$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Function0((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.modal.Alert$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Function0((kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.html/-a-l-i-g-n/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.modal.Alert$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Function0((kotlin.Unit)))/size">size</span><span class="symbol">:</span> <a href="../-m-o-d-a-l-s-i-z-e/index.html"><span class="identifier">MODALSIZE</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Alert$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Function0((kotlin.Unit)))/animation">animation</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> true<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Alert$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Function0((kotlin.Unit)))/callback">callback</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> null<span class="symbol">)</span></code> +<h3>Parameters</h3> +<p><a name="caption"></a> +<code>caption</code> - window title</p> +<p><a name="text"></a> +<code>text</code> - window content text.</p> +<p><a name="rich"></a> +<code>rich</code> - determines if <a href="-init-.html#pl.treksoft.kvision.modal.Alert$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Function0((kotlin.Unit)))/text">text</a> can contain HTML code</p> +<p><a name="align"></a> +<code>align</code> - text align</p> +<p><a name="size"></a> +<code>size</code> - modal window size</p> +<p><a name="animation"></a> +<code>animation</code> - determines if animations are used</p> +<p><a name="callback"></a> +<code>callback</code> - a function called after closing window with OK button</p> +<p><strong>Constructor</strong><br/> +</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.modal/-alert/align.html b/docs/api/pl.treksoft.kvision.modal/-alert/align.html new file mode 100644 index 00000000..50bfd562 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-alert/align.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Alert.align - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.modal</a> / <a href="index.html">Alert</a> / <a href="./align.html">align</a><br/> +<br/> +<h1>align</h1> +<a name="pl.treksoft.kvision.modal.Alert$align"></a> +<code><span class="keyword">var </span><span class="identifier">align</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.html/-a-l-i-g-n/index.html"><span class="identifier">ALIGN</span></a><span class="symbol">?</span></code> +<p>Text align.</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.modal/-alert/hide.html b/docs/api/pl.treksoft.kvision.modal/-alert/hide.html new file mode 100644 index 00000000..f165c34f --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-alert/hide.html @@ -0,0 +1,18 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Alert.hide - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.modal</a> / <a href="index.html">Alert</a> / <a href="./hide.html">hide</a><br/> +<br/> +<h1>hide</h1> +<a name="pl.treksoft.kvision.modal.Alert$hide()"></a> +<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>Overrides <a href="../-modal/hide.html">Modal.hide</a></p> +<p>Makes current widget invisible.</p> +<p><strong>Return</strong><br/> +current widget</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.modal/-alert/index.html b/docs/api/pl.treksoft.kvision.modal/-alert/index.html new file mode 100644 index 00000000..80b5facf --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-alert/index.html @@ -0,0 +1,213 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Alert - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.modal</a> / <a href="./index.html">Alert</a><br/> +<br/> +<h1>Alert</h1> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Alert</span> <span class="symbol">:</span> <a href="../-modal/index.html"><span class="identifier">Modal</span></a></code> +<p>Alert window based on Bootstrap modal.</p> +<h3>Constructors</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-init-.html"><init></a></p> +</td> +<td> +<code><span class="identifier">Alert</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.modal.Alert$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Function0((kotlin.Unit)))/caption">caption</span><span class="symbol">:</span> <a href="https://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.modal.Alert$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Function0((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="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Alert$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Function0((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.modal.Alert$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Function0((kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.html/-a-l-i-g-n/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.modal.Alert$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Function0((kotlin.Unit)))/size">size</span><span class="symbol">:</span> <a href="../-m-o-d-a-l-s-i-z-e/index.html"><span class="identifier">MODALSIZE</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Alert$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Function0((kotlin.Unit)))/animation">animation</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> true<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Alert$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Function0((kotlin.Unit)))/callback">callback</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> 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="../../pl.treksoft.kvision.html/-a-l-i-g-n/index.html"><span class="identifier">ALIGN</span></a><span class="symbol">?</span></code> +<p>Text align.</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="text.html">text</a> can contain HTML code.</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><span class="symbol">?</span></code> +<p>Window content text.</p> +</td> +</tr> +</tbody> +</table> +<h3>Inherited Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../-modal/animation.html">animation</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">animation</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 animations are used.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-modal/caption.html">caption</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">caption</span><span class="symbol">: </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>Window content text.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-modal/close-button.html">closeButton</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">closeButton</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 Close button is visible.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-modal/size.html">size</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">size</span><span class="symbol">: </span><a href="../-m-o-d-a-l-s-i-z-e/index.html"><span class="identifier">MODALSIZE</span></a><span class="symbol">?</span></code> +<p>Window size.</p> +</td> +</tr> +</tbody> +</table> +<h3>Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="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> +</tbody> +</table> +<h3>Inherited Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../-modal/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.modal.Modal$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="../-modal/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.modal.Modal$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="../-modal/add-button.html">addButton</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">addButton</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.modal.Modal$addButton(pl.treksoft.kvision.html.Button)/button">button</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.html/-button/index.html"><span class="identifier">Button</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../-modal/index.html"><span class="identifier">Modal</span></a></code> +<p>Adds given button to the bottom section of dialog window.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-modal/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.modal.Modal$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="../-modal/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="../-modal/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="../-modal/remove-all-buttons.html">removeAllButtons</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeAllButtons</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../-modal/index.html"><span class="identifier">Modal</span></a></code> +<p>Removes all buttons from the bottom section of dialog window.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-modal/remove-button.html">removeButton</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeButton</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.modal.Modal$removeButton(pl.treksoft.kvision.html.Button)/button">button</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.html/-button/index.html"><span class="identifier">Button</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../-modal/index.html"><span class="identifier">Modal</span></a></code> +<p>Removes given button from the bottom section of dialog window.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-modal/toggle.html">toggle</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">toggle</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>Toggle modal window visibility.</p> +</td> +</tr> +</tbody> +</table> +<h3>Companion Object Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="show.html">show</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="identifier">show</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.modal.Alert.Companion$show(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Function0((kotlin.Unit)))/caption">caption</span><span class="symbol">:</span> <a href="https://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.modal.Alert.Companion$show(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Function0((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="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Alert.Companion$show(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Function0((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.modal.Alert.Companion$show(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Function0((kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.html/-a-l-i-g-n/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.modal.Alert.Companion$show(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Function0((kotlin.Unit)))/size">size</span><span class="symbol">:</span> <a href="../-m-o-d-a-l-s-i-z-e/index.html"><span class="identifier">MODALSIZE</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Alert.Companion$show(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Function0((kotlin.Unit)))/animation">animation</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> true<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Alert.Companion$show(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Function0((kotlin.Unit)))/callback">callback</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> null<span class="symbol">)</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>Helper function for opening Alert window.</p> +</td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.modal/-alert/rich.html b/docs/api/pl.treksoft.kvision.modal/-alert/rich.html new file mode 100644 index 00000000..68f4b08a --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-alert/rich.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Alert.rich - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.modal</a> / <a href="index.html">Alert</a> / <a href="./rich.html">rich</a><br/> +<br/> +<h1>rich</h1> +<a name="pl.treksoft.kvision.modal.Alert$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="text.html">text</a> can contain HTML code.</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.modal/-alert/show.html b/docs/api/pl.treksoft.kvision.modal/-alert/show.html new file mode 100644 index 00000000..3109e8c5 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-alert/show.html @@ -0,0 +1,30 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Alert.show - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.modal</a> / <a href="index.html">Alert</a> / <a href="./show.html">show</a><br/> +<br/> +<h1>show</h1> +<a name="pl.treksoft.kvision.modal.Alert.Companion$show(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Function0((kotlin.Unit)))"></a> +<code><span class="keyword">fun </span><span class="identifier">show</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.modal.Alert.Companion$show(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Function0((kotlin.Unit)))/caption">caption</span><span class="symbol">:</span> <a href="https://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.modal.Alert.Companion$show(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Function0((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="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Alert.Companion$show(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Function0((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.modal.Alert.Companion$show(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Function0((kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.html/-a-l-i-g-n/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.modal.Alert.Companion$show(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Function0((kotlin.Unit)))/size">size</span><span class="symbol">:</span> <a href="../-m-o-d-a-l-s-i-z-e/index.html"><span class="identifier">MODALSIZE</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Alert.Companion$show(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Function0((kotlin.Unit)))/animation">animation</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> true<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Alert.Companion$show(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Function0((kotlin.Unit)))/callback">callback</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> null<span class="symbol">)</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>Helper function for opening Alert window.</p> +<h3>Parameters</h3> +<p><a name="caption"></a> +<code>caption</code> - window title</p> +<p><a name="text"></a> +<code>text</code> - window content text.</p> +<p><a name="rich"></a> +<code>rich</code> - determines if <a href="show.html#pl.treksoft.kvision.modal.Alert.Companion$show(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Function0((kotlin.Unit)))/text">text</a> can contain HTML code</p> +<p><a name="align"></a> +<code>align</code> - text align</p> +<p><a name="size"></a> +<code>size</code> - modal window size</p> +<p><a name="animation"></a> +<code>animation</code> - determines if animations are used</p> +<p><a name="callback"></a> +<code>callback</code> - a function called after closing window with OK button</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.modal/-alert/text.html b/docs/api/pl.treksoft.kvision.modal/-alert/text.html new file mode 100644 index 00000000..9f6f4e31 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-alert/text.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Alert.text - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.modal</a> / <a href="index.html">Alert</a> / <a href="./text.html">text</a><br/> +<br/> +<h1>text</h1> +<a name="pl.treksoft.kvision.modal.Alert$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><span class="symbol">?</span></code> +<p>Window content text.</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.modal/-close-icon/-init-.html b/docs/api/pl.treksoft.kvision.modal/-close-icon/-init-.html new file mode 100644 index 00000000..eebb8ae3 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-close-icon/-init-.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>CloseIcon.<init> - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.modal</a> / <a href="index.html">CloseIcon</a> / <a href="./-init-.html"><init></a><br/> +<br/> +<h1><init></h1> +<a name="pl.treksoft.kvision.modal.CloseIcon$<init>()"></a> +<code><span class="identifier">CloseIcon</span><span class="symbol">(</span><span class="symbol">)</span></code> +<p>Helper class for close icon component.</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.modal/-close-icon/get-sn-attrs.html b/docs/api/pl.treksoft.kvision.modal/-close-icon/get-sn-attrs.html new file mode 100644 index 00000000..353a57b1 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-close-icon/get-sn-attrs.html @@ -0,0 +1,18 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>CloseIcon.getSnAttrs - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.modal</a> / <a href="index.html">CloseIcon</a> / <a href="./get-sn-attrs.html">getSnAttrs</a><br/> +<br/> +<h1>getSnAttrs</h1> +<a name="pl.treksoft.kvision.modal.CloseIcon$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/docs/api/pl.treksoft.kvision.modal/-close-icon/get-sn-class.html b/docs/api/pl.treksoft.kvision.modal/-close-icon/get-sn-class.html new file mode 100644 index 00000000..154efc17 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-close-icon/get-sn-class.html @@ -0,0 +1,18 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>CloseIcon.getSnClass - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.modal</a> / <a href="index.html">CloseIcon</a> / <a href="./get-sn-class.html">getSnClass</a><br/> +<br/> +<h1>getSnClass</h1> +<a name="pl.treksoft.kvision.modal.CloseIcon$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/docs/api/pl.treksoft.kvision.modal/-close-icon/index.html b/docs/api/pl.treksoft.kvision.modal/-close-icon/index.html new file mode 100644 index 00000000..f94873df --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-close-icon/index.html @@ -0,0 +1,289 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>CloseIcon - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.modal</a> / <a href="./index.html">CloseIcon</a><br/> +<br/> +<h1>CloseIcon</h1> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">CloseIcon</span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Helper class for close icon component.</p> +<h3>Constructors</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-init-.html"><init></a></p> +</td> +<td> +<code><span class="identifier">CloseIcon</span><span class="symbol">(</span><span class="symbol">)</span></code> +<p>Helper class for close icon component.</p> +</td> +</tr> +</tbody> +</table> +<h3>Inherited Properties</h3> +<table> +<tbody> +<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/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/-component/index.html"><span class="identifier">Component</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/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/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/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> +</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> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.core/-widget/add-surrounding-css-class.html">addSurroundingCssClass</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">addSurroundingCssClass</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$addSurroundingCssClass(kotlin.String)/css">css</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Adds given value to the set of CSS classes generated in html code of parent component.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.core/-widget/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/after-postpatch.html">afterPostpatch</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">afterPostpatch</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$afterPostpatch(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 updating Snabbdom vnode.</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/remove-css-class.html">removeCssClass</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeCssClass</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$removeCssClass(kotlin.String)/css">css</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Removes given value from the set of CSS classes generated in html code of current component.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.core/-widget/remove-event-listeners.html">removeEventListeners</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeEventListeners</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Removes all event listeners from current widget.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.core/-widget/remove-surrounding-css-class.html">removeSurroundingCssClass</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeSurroundingCssClass</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$removeSurroundingCssClass(kotlin.String)/css">css</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Removes given value from the set of CSS classes generated in html code of parent component.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.core/-widget/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-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/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> +</tbody> +</table> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.modal/-close-icon/render.html b/docs/api/pl.treksoft.kvision.modal/-close-icon/render.html new file mode 100644 index 00000000..4e0accce --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-close-icon/render.html @@ -0,0 +1,18 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>CloseIcon.render - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.modal</a> / <a href="index.html">CloseIcon</a> / <a href="./render.html">render</a><br/> +<br/> +<h1>render</h1> +<a name="pl.treksoft.kvision.modal.CloseIcon$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/docs/api/pl.treksoft.kvision.modal/-confirm/-init-.html b/docs/api/pl.treksoft.kvision.modal/-confirm/-init-.html new file mode 100644 index 00000000..2fd377d0 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-confirm/-init-.html @@ -0,0 +1,35 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Confirm.<init> - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.modal</a> / <a href="index.html">Confirm</a> / <a href="./-init-.html"><init></a><br/> +<br/> +<h1><init></h1> +<a name="pl.treksoft.kvision.modal.Confirm$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))"></a> +<code><span class="identifier">Confirm</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.modal.Confirm$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/caption">caption</span><span class="symbol">:</span> <a href="https://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.modal.Confirm$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.Function0((kotlin.Unit)), kotlin.Function0((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="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Confirm$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.Function0((kotlin.Unit)), kotlin.Function0((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.modal.Confirm$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.html/-a-l-i-g-n/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.modal.Confirm$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/size">size</span><span class="symbol">:</span> <a href="../-m-o-d-a-l-s-i-z-e/index.html"><span class="identifier">MODALSIZE</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Confirm$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/animation">animation</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> true<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Confirm$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/cancelVisible">cancelVisible</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.modal.Confirm$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/noCallback">noCallback</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> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Confirm$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/yesCallback">yesCallback</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> null<span class="symbol">)</span></code> +<h3>Parameters</h3> +<p><a name="caption"></a> +<code>caption</code> - window title</p> +<p><a name="text"></a> +<code>text</code> - window content text.</p> +<p><a name="rich"></a> +<code>rich</code> - determines if <a href="-init-.html#pl.treksoft.kvision.modal.Confirm$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/text">text</a> can contain HTML code</p> +<p><a name="align"></a> +<code>align</code> - text align</p> +<p><a name="size"></a> +<code>size</code> - modal window size</p> +<p><a name="animation"></a> +<code>animation</code> - determines if animations are used</p> +<p><a name="cancelVisible"></a> +<code>cancelVisible</code> - determines if Cancel button is visible</p> +<p><a name="noCallback"></a> +<code>noCallback</code> - a function called after closing window with No button</p> +<p><a name="yesCallback"></a> +<code>yesCallback</code> - a function called after closing window with Yes button</p> +<p><strong>Constructor</strong><br/> +</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.modal/-confirm/align.html b/docs/api/pl.treksoft.kvision.modal/-confirm/align.html new file mode 100644 index 00000000..7e8f2ed7 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-confirm/align.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Confirm.align - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.modal</a> / <a href="index.html">Confirm</a> / <a href="./align.html">align</a><br/> +<br/> +<h1>align</h1> +<a name="pl.treksoft.kvision.modal.Confirm$align"></a> +<code><span class="keyword">var </span><span class="identifier">align</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.html/-a-l-i-g-n/index.html"><span class="identifier">ALIGN</span></a><span class="symbol">?</span></code> +<p>Text align.</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.modal/-confirm/cancel-visible.html b/docs/api/pl.treksoft.kvision.modal/-confirm/cancel-visible.html new file mode 100644 index 00000000..ca0f9469 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-confirm/cancel-visible.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Confirm.cancelVisible - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.modal</a> / <a href="index.html">Confirm</a> / <a href="./cancel-visible.html">cancelVisible</a><br/> +<br/> +<h1>cancelVisible</h1> +<a name="pl.treksoft.kvision.modal.Confirm$cancelVisible"></a> +<code><span class="keyword">var </span><span class="identifier">cancelVisible</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 Cancel button is visible.</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.modal/-confirm/index.html b/docs/api/pl.treksoft.kvision.modal/-confirm/index.html new file mode 100644 index 00000000..125a76b4 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-confirm/index.html @@ -0,0 +1,217 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Confirm - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.modal</a> / <a href="./index.html">Confirm</a><br/> +<br/> +<h1>Confirm</h1> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Confirm</span> <span class="symbol">:</span> <a href="../-modal/index.html"><span class="identifier">Modal</span></a></code> +<p>Confirm window based on Bootstrap modal.</p> +<h3>Constructors</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-init-.html"><init></a></p> +</td> +<td> +<code><span class="identifier">Confirm</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.modal.Confirm$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/caption">caption</span><span class="symbol">:</span> <a href="https://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.modal.Confirm$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.Function0((kotlin.Unit)), kotlin.Function0((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="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Confirm$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.Function0((kotlin.Unit)), kotlin.Function0((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.modal.Confirm$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.html/-a-l-i-g-n/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.modal.Confirm$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/size">size</span><span class="symbol">:</span> <a href="../-m-o-d-a-l-s-i-z-e/index.html"><span class="identifier">MODALSIZE</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Confirm$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/animation">animation</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> true<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Confirm$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/cancelVisible">cancelVisible</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.modal.Confirm$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/noCallback">noCallback</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> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Confirm$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/yesCallback">yesCallback</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> 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="../../pl.treksoft.kvision.html/-a-l-i-g-n/index.html"><span class="identifier">ALIGN</span></a><span class="symbol">?</span></code> +<p>Text align.</p> +</td> +</tr> +<tr> +<td> +<p><a href="cancel-visible.html">cancelVisible</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">cancelVisible</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 Cancel button is visible.</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="text.html">text</a> can contain HTML code.</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><span class="symbol">?</span></code> +<p>Window content text.</p> +</td> +</tr> +</tbody> +</table> +<h3>Inherited Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../-modal/animation.html">animation</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">animation</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 animations are used.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-modal/caption.html">caption</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">caption</span><span class="symbol">: </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>Window content text.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-modal/close-button.html">closeButton</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">closeButton</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 Close button is visible.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-modal/size.html">size</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">size</span><span class="symbol">: </span><a href="../-m-o-d-a-l-s-i-z-e/index.html"><span class="identifier">MODALSIZE</span></a><span class="symbol">?</span></code> +<p>Window size.</p> +</td> +</tr> +</tbody> +</table> +<h3>Inherited Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../-modal/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.modal.Modal$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="../-modal/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.modal.Modal$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="../-modal/add-button.html">addButton</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">addButton</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.modal.Modal$addButton(pl.treksoft.kvision.html.Button)/button">button</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.html/-button/index.html"><span class="identifier">Button</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../-modal/index.html"><span class="identifier">Modal</span></a></code> +<p>Adds given button to the bottom section of dialog window.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-modal/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.modal.Modal$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="../-modal/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="../-modal/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="../-modal/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="../-modal/remove-all-buttons.html">removeAllButtons</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeAllButtons</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../-modal/index.html"><span class="identifier">Modal</span></a></code> +<p>Removes all buttons from the bottom section of dialog window.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-modal/remove-button.html">removeButton</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeButton</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.modal.Modal$removeButton(pl.treksoft.kvision.html.Button)/button">button</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.html/-button/index.html"><span class="identifier">Button</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../-modal/index.html"><span class="identifier">Modal</span></a></code> +<p>Removes given button from the bottom section of dialog window.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-modal/toggle.html">toggle</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">toggle</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>Toggle modal window visibility.</p> +</td> +</tr> +</tbody> +</table> +<h3>Companion Object Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="show.html">show</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="identifier">show</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.modal.Confirm.Companion$show(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/caption">caption</span><span class="symbol">:</span> <a href="https://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.modal.Confirm.Companion$show(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.Function0((kotlin.Unit)), kotlin.Function0((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="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Confirm.Companion$show(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.Function0((kotlin.Unit)), kotlin.Function0((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.modal.Confirm.Companion$show(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.html/-a-l-i-g-n/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.modal.Confirm.Companion$show(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/size">size</span><span class="symbol">:</span> <a href="../-m-o-d-a-l-s-i-z-e/index.html"><span class="identifier">MODALSIZE</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Confirm.Companion$show(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/animation">animation</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> true<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Confirm.Companion$show(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/cancelVisible">cancelVisible</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.modal.Confirm.Companion$show(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/noCallback">noCallback</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> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Confirm.Companion$show(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/yesCallback">yesCallback</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> null<span class="symbol">)</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>Helper function for opening Confirm window.</p> +</td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.modal/-confirm/rich.html b/docs/api/pl.treksoft.kvision.modal/-confirm/rich.html new file mode 100644 index 00000000..bec66a34 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-confirm/rich.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Confirm.rich - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.modal</a> / <a href="index.html">Confirm</a> / <a href="./rich.html">rich</a><br/> +<br/> +<h1>rich</h1> +<a name="pl.treksoft.kvision.modal.Confirm$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="text.html">text</a> can contain HTML code.</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.modal/-confirm/show.html b/docs/api/pl.treksoft.kvision.modal/-confirm/show.html new file mode 100644 index 00000000..ff284a12 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-confirm/show.html @@ -0,0 +1,34 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Confirm.show - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.modal</a> / <a href="index.html">Confirm</a> / <a href="./show.html">show</a><br/> +<br/> +<h1>show</h1> +<a name="pl.treksoft.kvision.modal.Confirm.Companion$show(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))"></a> +<code><span class="keyword">fun </span><span class="identifier">show</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.modal.Confirm.Companion$show(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/caption">caption</span><span class="symbol">:</span> <a href="https://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.modal.Confirm.Companion$show(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.Function0((kotlin.Unit)), kotlin.Function0((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="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Confirm.Companion$show(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.Function0((kotlin.Unit)), kotlin.Function0((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.modal.Confirm.Companion$show(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.html/-a-l-i-g-n/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.modal.Confirm.Companion$show(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/size">size</span><span class="symbol">:</span> <a href="../-m-o-d-a-l-s-i-z-e/index.html"><span class="identifier">MODALSIZE</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Confirm.Companion$show(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/animation">animation</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> true<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Confirm.Companion$show(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/cancelVisible">cancelVisible</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.modal.Confirm.Companion$show(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/noCallback">noCallback</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> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Confirm.Companion$show(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/yesCallback">yesCallback</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> null<span class="symbol">)</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>Helper function for opening Confirm window.</p> +<h3>Parameters</h3> +<p><a name="caption"></a> +<code>caption</code> - window title</p> +<p><a name="text"></a> +<code>text</code> - window content text.</p> +<p><a name="rich"></a> +<code>rich</code> - determines if <a href="show.html#pl.treksoft.kvision.modal.Confirm.Companion$show(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.ALIGN, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/text">text</a> can contain HTML code</p> +<p><a name="align"></a> +<code>align</code> - text align</p> +<p><a name="size"></a> +<code>size</code> - modal window size</p> +<p><a name="animation"></a> +<code>animation</code> - determines if animations are used</p> +<p><a name="cancelVisible"></a> +<code>cancelVisible</code> - determines if Cancel button is visible</p> +<p><a name="noCallback"></a> +<code>noCallback</code> - a function called after closing window with No button</p> +<p><a name="yesCallback"></a> +<code>yesCallback</code> - a function called after closing window with Yes button</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.modal/-confirm/text.html b/docs/api/pl.treksoft.kvision.modal/-confirm/text.html new file mode 100644 index 00000000..0ed63215 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-confirm/text.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Confirm.text - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.modal</a> / <a href="index.html">Confirm</a> / <a href="./text.html">text</a><br/> +<br/> +<h1>text</h1> +<a name="pl.treksoft.kvision.modal.Confirm$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><span class="symbol">?</span></code> +<p>Window content text.</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.modal/-m-o-d-a-l-s-i-z-e/-l-a-r-g-e.html b/docs/api/pl.treksoft.kvision.modal/-m-o-d-a-l-s-i-z-e/-l-a-r-g-e.html new file mode 100644 index 00000000..84104d85 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-m-o-d-a-l-s-i-z-e/-l-a-r-g-e.html @@ -0,0 +1,26 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>MODALSIZE.LARGE - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.modal</a> / <a href="index.html">MODALSIZE</a> / <a href="./-l-a-r-g-e.html">LARGE</a><br/> +<br/> +<h1>LARGE</h1> +<a name="pl.treksoft.kvision.modal.MODALSIZE.LARGE"></a> +<code><span class="identifier">LARGE</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/docs/api/pl.treksoft.kvision.modal/-m-o-d-a-l-s-i-z-e/-s-m-a-l-l.html b/docs/api/pl.treksoft.kvision.modal/-m-o-d-a-l-s-i-z-e/-s-m-a-l-l.html new file mode 100644 index 00000000..80df8222 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-m-o-d-a-l-s-i-z-e/-s-m-a-l-l.html @@ -0,0 +1,26 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>MODALSIZE.SMALL - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.modal</a> / <a href="index.html">MODALSIZE</a> / <a href="./-s-m-a-l-l.html">SMALL</a><br/> +<br/> +<h1>SMALL</h1> +<a name="pl.treksoft.kvision.modal.MODALSIZE.SMALL"></a> +<code><span class="identifier">SMALL</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/docs/api/pl.treksoft.kvision.modal/-m-o-d-a-l-s-i-z-e/class-name.html b/docs/api/pl.treksoft.kvision.modal/-m-o-d-a-l-s-i-z-e/class-name.html new file mode 100644 index 00000000..e9cd91e3 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-m-o-d-a-l-s-i-z-e/class-name.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>MODALSIZE.className - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.modal</a> / <a href="index.html">MODALSIZE</a> / <a href="./class-name.html">className</a><br/> +<br/> +<h1>className</h1> +<a name="pl.treksoft.kvision.modal.MODALSIZE$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/docs/api/pl.treksoft.kvision.modal/-m-o-d-a-l-s-i-z-e/index.html b/docs/api/pl.treksoft.kvision.modal/-m-o-d-a-l-s-i-z-e/index.html new file mode 100644 index 00000000..0cc5703d --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-m-o-d-a-l-s-i-z-e/index.html @@ -0,0 +1,45 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>MODALSIZE - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.modal</a> / <a href="./index.html">MODALSIZE</a><br/> +<br/> +<h1>MODALSIZE</h1> +<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">MODALSIZE</span></code> +<p>Modal window 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> +</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> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.modal/-modal/-init-.html b/docs/api/pl.treksoft.kvision.modal/-modal/-init-.html new file mode 100644 index 00000000..f94051b7 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-modal/-init-.html @@ -0,0 +1,29 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Modal.<init> - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.modal</a> / <a href="index.html">Modal</a> / <a href="./-init-.html"><init></a><br/> +<br/> +<h1><init></h1> +<a name="pl.treksoft.kvision.modal.Modal$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))"></a> +<code><span class="identifier">Modal</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.modal.Modal$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/caption">caption</span><span class="symbol">:</span> <a href="https://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.modal.Modal$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/closeButton">closeButton</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> true<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Modal$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/size">size</span><span class="symbol">:</span> <a href="../-m-o-d-a-l-s-i-z-e/index.html"><span class="identifier">MODALSIZE</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Modal$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/animation">animation</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> true<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Modal$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/escape">escape</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> true<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Modal$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, 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="caption"></a> +<code>caption</code> - window title</p> +<p><a name="closeButton"></a> +<code>closeButton</code> - determines if Close button is visible</p> +<p><a name="size"></a> +<code>size</code> - modal window size</p> +<p><a name="animation"></a> +<code>animation</code> - determines if animations are used</p> +<p><a name="escape"></a> +<code>escape</code> - determines if dialog can be closed with Esc key</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/docs/api/pl.treksoft.kvision.modal/-modal/add-all.html b/docs/api/pl.treksoft.kvision.modal/-modal/add-all.html new file mode 100644 index 00000000..041fba75 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-modal/add-all.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Modal.addAll - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.modal</a> / <a href="index.html">Modal</a> / <a href="./add-all.html">addAll</a><br/> +<br/> +<h1>addAll</h1> +<a name="pl.treksoft.kvision.modal.Modal$addAll(kotlin.collections.List((pl.treksoft.kvision.core.Component)))"></a> +<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.modal.Modal$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>Overrides <a href="../../pl.treksoft.kvision.panel/-simple-panel/add-all.html">SimplePanel.addAll</a></p> +<p>Adds a list of components to the current container.</p> +<h3>Parameters</h3> +<p><a name="children"></a> +<code>children</code> - list of child components</p> +<p><strong>Return</strong><br/> +current container</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.modal/-modal/add-button.html b/docs/api/pl.treksoft.kvision.modal/-modal/add-button.html new file mode 100644 index 00000000..e5390b90 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-modal/add-button.html @@ -0,0 +1,20 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Modal.addButton - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.modal</a> / <a href="index.html">Modal</a> / <a href="./add-button.html">addButton</a><br/> +<br/> +<h1>addButton</h1> +<a name="pl.treksoft.kvision.modal.Modal$addButton(pl.treksoft.kvision.html.Button)"></a> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">addButton</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.modal.Modal$addButton(pl.treksoft.kvision.html.Button)/button">button</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.html/-button/index.html"><span class="identifier">Button</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">Modal</span></a></code> +<p>Adds given button to the bottom section of dialog window.</p> +<h3>Parameters</h3> +<p><a name="button"></a> +<code>button</code> - a <a href="../../pl.treksoft.kvision.html/-button/index.html">Button</a> component</p> +<p><strong>Return</strong><br/> +this modal</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.modal/-modal/add.html b/docs/api/pl.treksoft.kvision.modal/-modal/add.html new file mode 100644 index 00000000..0bc14a86 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-modal/add.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Modal.add - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.modal</a> / <a href="index.html">Modal</a> / <a href="./add.html">add</a><br/> +<br/> +<h1>add</h1> +<a name="pl.treksoft.kvision.modal.Modal$add(pl.treksoft.kvision.core.Component)"></a> +<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.modal.Modal$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>Overrides <a href="../../pl.treksoft.kvision.panel/-simple-panel/add.html">SimplePanel.add</a></p> +<p>Adds given component to the current container.</p> +<h3>Parameters</h3> +<p><a name="child"></a> +<code>child</code> - child component</p> +<p><strong>Return</strong><br/> +current container</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.modal/-modal/after-insert.html b/docs/api/pl.treksoft.kvision.modal/-modal/after-insert.html new file mode 100644 index 00000000..b69374d3 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-modal/after-insert.html @@ -0,0 +1,16 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Modal.afterInsert - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.modal</a> / <a href="index.html">Modal</a> / <a href="./after-insert.html">afterInsert</a><br/> +<br/> +<h1>afterInsert</h1> +<a name="pl.treksoft.kvision.modal.Modal$afterInsert(com.github.snabbdom.VNode)"></a> +<code><span class="keyword">protected</span> <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.modal.Modal$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>Overrides <a href="../../pl.treksoft.kvision.core/-widget/after-insert.html">Widget.afterInsert</a></p> +<p>Method called after inserting Snabbdom vnode into the DOM.</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.modal/-modal/animation.html b/docs/api/pl.treksoft.kvision.modal/-modal/animation.html new file mode 100644 index 00000000..adb207fc --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-modal/animation.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Modal.animation - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.modal</a> / <a href="index.html">Modal</a> / <a href="./animation.html">animation</a><br/> +<br/> +<h1>animation</h1> +<a name="pl.treksoft.kvision.modal.Modal$animation"></a> +<code><span class="keyword">var </span><span class="identifier">animation</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 animations are used.</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.modal/-modal/caption.html b/docs/api/pl.treksoft.kvision.modal/-modal/caption.html new file mode 100644 index 00000000..33afaf3d --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-modal/caption.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Modal.caption - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.modal</a> / <a href="index.html">Modal</a> / <a href="./caption.html">caption</a><br/> +<br/> +<h1>caption</h1> +<a name="pl.treksoft.kvision.modal.Modal$caption"></a> +<code><span class="keyword">var </span><span class="identifier">caption</span><span class="symbol">: </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>Window content text.</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.modal/-modal/close-button.html b/docs/api/pl.treksoft.kvision.modal/-modal/close-button.html new file mode 100644 index 00000000..4810bdbb --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-modal/close-button.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Modal.closeButton - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.modal</a> / <a href="index.html">Modal</a> / <a href="./close-button.html">closeButton</a><br/> +<br/> +<h1>closeButton</h1> +<a name="pl.treksoft.kvision.modal.Modal$closeButton"></a> +<code><span class="keyword">var </span><span class="identifier">closeButton</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 Close button is visible.</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.modal/-modal/get-sn-attrs.html b/docs/api/pl.treksoft.kvision.modal/-modal/get-sn-attrs.html new file mode 100644 index 00000000..e10a5b85 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-modal/get-sn-attrs.html @@ -0,0 +1,18 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Modal.getSnAttrs - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.modal</a> / <a href="index.html">Modal</a> / <a href="./get-sn-attrs.html">getSnAttrs</a><br/> +<br/> +<h1>getSnAttrs</h1> +<a name="pl.treksoft.kvision.modal.Modal$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/docs/api/pl.treksoft.kvision.modal/-modal/get-sn-class.html b/docs/api/pl.treksoft.kvision.modal/-modal/get-sn-class.html new file mode 100644 index 00000000..150af720 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-modal/get-sn-class.html @@ -0,0 +1,18 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Modal.getSnClass - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.modal</a> / <a href="index.html">Modal</a> / <a href="./get-sn-class.html">getSnClass</a><br/> +<br/> +<h1>getSnClass</h1> +<a name="pl.treksoft.kvision.modal.Modal$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/docs/api/pl.treksoft.kvision.modal/-modal/hide.html b/docs/api/pl.treksoft.kvision.modal/-modal/hide.html new file mode 100644 index 00000000..28a61d3f --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-modal/hide.html @@ -0,0 +1,18 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Modal.hide - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.modal</a> / <a href="index.html">Modal</a> / <a href="./hide.html">hide</a><br/> +<br/> +<h1>hide</h1> +<a name="pl.treksoft.kvision.modal.Modal$hide()"></a> +<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>Overrides <a href="../../pl.treksoft.kvision.core/-widget/hide.html">Widget.hide</a></p> +<p>Makes current widget invisible.</p> +<p><strong>Return</strong><br/> +current widget</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.modal/-modal/index.html b/docs/api/pl.treksoft.kvision.modal/-modal/index.html new file mode 100644 index 00000000..0d7d0798 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-modal/index.html @@ -0,0 +1,244 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Modal - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.modal</a> / <a href="./index.html">Modal</a><br/> +<br/> +<h1>Modal</h1> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Modal</span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a></code> +<p>Configurable modal window based on Bootstrap modal.</p> +<h3>Constructors</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-init-.html"><init></a></p> +</td> +<td> +<code><span class="identifier">Modal</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.modal.Modal$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/caption">caption</span><span class="symbol">:</span> <a href="https://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.modal.Modal$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/closeButton">closeButton</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> true<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Modal$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/size">size</span><span class="symbol">:</span> <a href="../-m-o-d-a-l-s-i-z-e/index.html"><span class="identifier">MODALSIZE</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Modal$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/animation">animation</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> true<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Modal$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/escape">escape</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> true<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Modal$<init>(kotlin.String, kotlin.Boolean, pl.treksoft.kvision.modal.MODALSIZE, kotlin.Boolean, 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="animation.html">animation</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">animation</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 animations are used.</p> +</td> +</tr> +<tr> +<td> +<p><a href="caption.html">caption</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">caption</span><span class="symbol">: </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>Window content text.</p> +</td> +</tr> +<tr> +<td> +<p><a href="close-button.html">closeButton</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">closeButton</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 Close button is visible.</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="../-m-o-d-a-l-s-i-z-e/index.html"><span class="identifier">MODALSIZE</span></a><span class="symbol">?</span></code> +<p>Window size.</p> +</td> +</tr> +</tbody> +</table> +<h3>Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="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.modal.Modal$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="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.modal.Modal$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="add-button.html">addButton</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">addButton</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.modal.Modal$addButton(pl.treksoft.kvision.html.Button)/button">button</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.html/-button/index.html"><span class="identifier">Button</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="./index.html"><span class="identifier">Modal</span></a></code> +<p>Adds given button to the bottom section of dialog window.</p> +</td> +</tr> +<tr> +<td> +<p><a href="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.modal.Modal$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="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="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="remove-all-buttons.html">removeAllButtons</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeAllButtons</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="./index.html"><span class="identifier">Modal</span></a></code> +<p>Removes all buttons from the bottom section of dialog window.</p> +</td> +</tr> +<tr> +<td> +<p><a href="remove-button.html">removeButton</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeButton</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.modal.Modal$removeButton(pl.treksoft.kvision.html.Button)/button">button</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.html/-button/index.html"><span class="identifier">Button</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="./index.html"><span class="identifier">Modal</span></a></code> +<p>Removes given button from the bottom section of dialog window.</p> +</td> +</tr> +<tr> +<td> +<p><a href="toggle.html">toggle</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">toggle</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>Toggle modal window visibility.</p> +</td> +</tr> +</tbody> +</table> +<h3>Inherited Functions</h3> +<table> +<tbody> +<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> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.panel/-simple-panel/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>Inheritors</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../-alert/index.html">Alert</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Alert</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">Modal</span></a></code> +<p>Alert window based on Bootstrap modal.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-confirm/index.html">Confirm</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Confirm</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">Modal</span></a></code> +<p>Confirm window based on Bootstrap modal.</p> +</td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.modal/-modal/remove-all-buttons.html b/docs/api/pl.treksoft.kvision.modal/-modal/remove-all-buttons.html new file mode 100644 index 00000000..f9e101b3 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-modal/remove-all-buttons.html @@ -0,0 +1,17 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Modal.removeAllButtons - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.modal</a> / <a href="index.html">Modal</a> / <a href="./remove-all-buttons.html">removeAllButtons</a><br/> +<br/> +<h1>removeAllButtons</h1> +<a name="pl.treksoft.kvision.modal.Modal$removeAllButtons()"></a> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeAllButtons</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">Modal</span></a></code> +<p>Removes all buttons from the bottom section of dialog window.</p> +<p><strong>Return</strong><br/> +this modal</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.modal/-modal/remove-button.html b/docs/api/pl.treksoft.kvision.modal/-modal/remove-button.html new file mode 100644 index 00000000..e9264cc4 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-modal/remove-button.html @@ -0,0 +1,20 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Modal.removeButton - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.modal</a> / <a href="index.html">Modal</a> / <a href="./remove-button.html">removeButton</a><br/> +<br/> +<h1>removeButton</h1> +<a name="pl.treksoft.kvision.modal.Modal$removeButton(pl.treksoft.kvision.html.Button)"></a> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeButton</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.modal.Modal$removeButton(pl.treksoft.kvision.html.Button)/button">button</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.html/-button/index.html"><span class="identifier">Button</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">Modal</span></a></code> +<p>Removes given button from the bottom section of dialog window.</p> +<h3>Parameters</h3> +<p><a name="button"></a> +<code>button</code> - a <a href="../../pl.treksoft.kvision.html/-button/index.html">Button</a> component</p> +<p><strong>Return</strong><br/> +this modal</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.modal/-modal/size.html b/docs/api/pl.treksoft.kvision.modal/-modal/size.html new file mode 100644 index 00000000..d357c3dc --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-modal/size.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Modal.size - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.modal</a> / <a href="index.html">Modal</a> / <a href="./size.html">size</a><br/> +<br/> +<h1>size</h1> +<a name="pl.treksoft.kvision.modal.Modal$size"></a> +<code><span class="keyword">var </span><span class="identifier">size</span><span class="symbol">: </span><a href="../-m-o-d-a-l-s-i-z-e/index.html"><span class="identifier">MODALSIZE</span></a><span class="symbol">?</span></code> +<p>Window size.</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.modal/-modal/toggle.html b/docs/api/pl.treksoft.kvision.modal/-modal/toggle.html new file mode 100644 index 00000000..a4c26897 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/-modal/toggle.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Modal.toggle - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.modal</a> / <a href="index.html">Modal</a> / <a href="./toggle.html">toggle</a><br/> +<br/> +<h1>toggle</h1> +<a name="pl.treksoft.kvision.modal.Modal$toggle()"></a> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">toggle</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>Toggle modal window visibility.</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.modal/index.html b/docs/api/pl.treksoft.kvision.modal/index.html new file mode 100644 index 00000000..ba17ced7 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.modal/index.html @@ -0,0 +1,63 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>pl.treksoft.kvision.modal - kvision</title> +<link rel="stylesheet" href="../../style.css"> +</HEAD> +<BODY> +<a href="../index.html">kvision</a> / <a href="./index.html">pl.treksoft.kvision.modal</a><br/> +<br/> +<h2>Package pl.treksoft.kvision.modal</h2> +<p>Classes supporting general purpose Bootstrap modals with convenient helpers for alert and confirm popup dialogs.</p> +<h3>Types</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-alert/index.html">Alert</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Alert</span> <span class="symbol">:</span> <a href="-modal/index.html"><span class="identifier">Modal</span></a></code> +<p>Alert window based on Bootstrap modal.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-close-icon/index.html">CloseIcon</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">CloseIcon</span> <span class="symbol">:</span> <a href="../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Helper class for close icon component.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-confirm/index.html">Confirm</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Confirm</span> <span class="symbol">:</span> <a href="-modal/index.html"><span class="identifier">Modal</span></a></code> +<p>Confirm window based on Bootstrap modal.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-m-o-d-a-l-s-i-z-e/index.html">MODALSIZE</a></p> +</td> +<td> +<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">MODALSIZE</span></code> +<p>Modal window sizes.</p> +</td> +</tr> +<tr> +<td> +<p><a href="-modal/index.html">Modal</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Modal</span> <span class="symbol">:</span> <a href="../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a></code> +<p>Configurable modal window based on Bootstrap modal.</p> +</td> +</tr> +</tbody> +</table> +</BODY> +</HTML> |