aboutsummaryrefslogtreecommitdiff
path: root/docs/api/pl.treksoft.kvision.modal/-alert
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2018-02-09 13:40:35 +0100
committerRobert Jaros <rjaros@finn.pl>2018-02-09 13:40:35 +0100
commitd8cd67062b8de6e8398dc6dfd00d201200c82414 (patch)
tree601082ec1eec73bc7a7d6ce8b51352e5345ffe81 /docs/api/pl.treksoft.kvision.modal/-alert
parent955304789ea83aceacbdf4c8a9eb742f6c2518f6 (diff)
downloadkvision-d8cd67062b8de6e8398dc6dfd00d201200c82414.tar.gz
kvision-d8cd67062b8de6e8398dc6dfd00d201200c82414.tar.bz2
kvision-d8cd67062b8de6e8398dc6dfd00d201200c82414.zip
API doc and readme
Diffstat (limited to 'docs/api/pl.treksoft.kvision.modal/-alert')
-rw-r--r--docs/api/pl.treksoft.kvision.modal/-alert/-init-.html31
-rw-r--r--docs/api/pl.treksoft.kvision.modal/-alert/align.html15
-rw-r--r--docs/api/pl.treksoft.kvision.modal/-alert/hide.html18
-rw-r--r--docs/api/pl.treksoft.kvision.modal/-alert/index.html213
-rw-r--r--docs/api/pl.treksoft.kvision.modal/-alert/rich.html15
-rw-r--r--docs/api/pl.treksoft.kvision.modal/-alert/show.html30
-rw-r--r--docs/api/pl.treksoft.kvision.modal/-alert/text.html15
7 files changed, 337 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>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.modal</a>&nbsp;/&nbsp;<a href="index.html">Alert</a>&nbsp;/&nbsp;<a href="./-init-.html">&lt;init&gt;</a><br/>
+<br/>
+<h1>&lt;init&gt;</h1>
+<a name="pl.treksoft.kvision.modal.Alert$&lt;init&gt;(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>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<a href="../../pl.treksoft.kvision.html/-a-l-i-g-n/index.html"><span class="identifier">ALIGN</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<a href="../-m-o-d-a-l-s-i-z-e/index.html"><span class="identifier">MODALSIZE</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.modal</a>&nbsp;/&nbsp;<a href="index.html">Alert</a>&nbsp;/&nbsp;<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>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.modal</a>&nbsp;/&nbsp;<a href="index.html">Alert</a>&nbsp;/&nbsp;<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>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.modal</a>&nbsp;/&nbsp;<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>&nbsp;<span class="symbol">:</span>&nbsp;<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">&lt;init&gt;</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>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<a href="../../pl.treksoft.kvision.html/-a-l-i-g-n/index.html"><span class="identifier">ALIGN</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<a href="../-m-o-d-a-l-s-i-z-e/index.html"><span class="identifier">MODALSIZE</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<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>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol">&lt;</span><a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">&gt;</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>&nbsp;<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>&nbsp;<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">&lt;</span><a href="../../pl.treksoft.kvision.core/-string-pair.html"><span class="identifier">StringPair</span></a><span class="symbol">&gt;</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">&lt;</span><a href="../../pl.treksoft.kvision.core/-string-bool-pair.html"><span class="identifier">StringBoolPair</span></a><span class="symbol">&gt;</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>&nbsp;<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>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<a href="../../pl.treksoft.kvision.html/-a-l-i-g-n/index.html"><span class="identifier">ALIGN</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<a href="../-m-o-d-a-l-s-i-z-e/index.html"><span class="identifier">MODALSIZE</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.modal</a>&nbsp;/&nbsp;<a href="index.html">Alert</a>&nbsp;/&nbsp;<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>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.modal</a>&nbsp;/&nbsp;<a href="index.html">Alert</a>&nbsp;/&nbsp;<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>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<a href="../../pl.treksoft.kvision.html/-a-l-i-g-n/index.html"><span class="identifier">ALIGN</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<a href="../-m-o-d-a-l-s-i-z-e/index.html"><span class="identifier">MODALSIZE</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.modal</a>&nbsp;/&nbsp;<a href="index.html">Alert</a>&nbsp;/&nbsp;<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>