diff options
author | Robert Jaros <rjaros@finn.pl> | 2018-10-22 00:01:39 +0200 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2018-10-22 00:01:39 +0200 |
commit | eb930482e9972a21d39f2aea8b813acf58ff5b64 (patch) | |
tree | 1c64052b39527aca51793860894baa37791cc94f /api/pl.treksoft.kvision.modal/-confirm | |
parent | 7c2850063697f94a0d8b8d8f8588136dd4b3d05e (diff) | |
download | kvision-eb930482e9972a21d39f2aea8b813acf58ff5b64.tar.gz kvision-eb930482e9972a21d39f2aea8b813acf58ff5b64.tar.bz2 kvision-eb930482e9972a21d39f2aea8b813acf58ff5b64.zip |
API documentation for KVision 0.0.19
Diffstat (limited to 'api/pl.treksoft.kvision.modal/-confirm')
-rw-r--r-- | api/pl.treksoft.kvision.modal/-confirm/-init-.html | 41 | ||||
-rw-r--r-- | api/pl.treksoft.kvision.modal/-confirm/align.html | 15 | ||||
-rw-r--r-- | api/pl.treksoft.kvision.modal/-confirm/cancel-title.html | 15 | ||||
-rw-r--r-- | api/pl.treksoft.kvision.modal/-confirm/cancel-visible.html | 21 | ||||
-rw-r--r-- | api/pl.treksoft.kvision.modal/-confirm/index.html | 271 | ||||
-rw-r--r-- | api/pl.treksoft.kvision.modal/-confirm/no-title.html | 15 | ||||
-rw-r--r-- | api/pl.treksoft.kvision.modal/-confirm/rich.html | 15 | ||||
-rw-r--r-- | api/pl.treksoft.kvision.modal/-confirm/show.html | 34 | ||||
-rw-r--r-- | api/pl.treksoft.kvision.modal/-confirm/text.html | 15 | ||||
-rw-r--r-- | api/pl.treksoft.kvision.modal/-confirm/yes-title.html | 15 |
10 files changed, 457 insertions, 0 deletions
diff --git a/api/pl.treksoft.kvision.modal/-confirm/-init-.html b/api/pl.treksoft.kvision.modal/-confirm/-init-.html new file mode 100644 index 00000000..7bf6f68f --- /dev/null +++ b/api/pl.treksoft.kvision.modal/-confirm/-init-.html @@ -0,0 +1,41 @@ +<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.String, kotlin.String, kotlin.String, 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.String, kotlin.String, kotlin.String, 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.String, kotlin.String, kotlin.String, 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.String, kotlin.String, kotlin.String, 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.String, kotlin.String, kotlin.String, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.html/-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Confirm$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, pl.treksoft.kvision.modal.ModalSize, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.String, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/size">size</span><span class="symbol">:</span> <a href="../-modal-size/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.String, kotlin.String, kotlin.String, 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.String, kotlin.String, kotlin.String, 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.String, kotlin.String, kotlin.String, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/yesTitle">yesTitle</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "Yes"<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.String, kotlin.String, kotlin.String, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/noTitle">noTitle</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "No"<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.String, kotlin.String, kotlin.String, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/cancelTitle">cancelTitle</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "Cancel"<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.String, kotlin.String, kotlin.String, 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.String, kotlin.String, kotlin.String, 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="text.html">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="yesTitle"></a> +<code>yesTitle</code> - yes button text</p> +<p><a name="noTitle"></a> +<code>noTitle</code> - no button text</p> +<p><a name="cancelTitle"></a> +<code>cancelTitle</code> - cancel button text</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/api/pl.treksoft.kvision.modal/-confirm/align.html b/api/pl.treksoft.kvision.modal/-confirm/align.html new file mode 100644 index 00000000..e74ba605 --- /dev/null +++ b/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/-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span></code> +<p>Text align.</p> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.modal/-confirm/cancel-title.html b/api/pl.treksoft.kvision.modal/-confirm/cancel-title.html new file mode 100644 index 00000000..b010823b --- /dev/null +++ b/api/pl.treksoft.kvision.modal/-confirm/cancel-title.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Confirm.cancelTitle - 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-title.html">cancelTitle</a><br/> +<br/> +<h1>cancelTitle</h1> +<a name="pl.treksoft.kvision.modal.Confirm$cancelTitle"></a> +<code><span class="keyword">var </span><span class="identifier">cancelTitle</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code> +<p>Cancel button text.</p> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.modal/-confirm/cancel-visible.html b/api/pl.treksoft.kvision.modal/-confirm/cancel-visible.html new file mode 100644 index 00000000..9260eafa --- /dev/null +++ b/api/pl.treksoft.kvision.modal/-confirm/cancel-visible.html @@ -0,0 +1,21 @@ +<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> +<p><strong>Getter</strong><br/> +<p>Determines if Cancel button is visible.</p> +</p> +<p><strong>Setter</strong><br/> +<p>Determines if Cancel button is visible.</p> +</p> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.modal/-confirm/index.html b/api/pl.treksoft.kvision.modal/-confirm/index.html new file mode 100644 index 00000000..2d4ecbbb --- /dev/null +++ b/api/pl.treksoft.kvision.modal/-confirm/index.html @@ -0,0 +1,271 @@ +<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.String, kotlin.String, kotlin.String, 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.String, kotlin.String, kotlin.String, 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.String, kotlin.String, kotlin.String, 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.String, kotlin.String, kotlin.String, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.html/-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Confirm$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, pl.treksoft.kvision.modal.ModalSize, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.String, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/size">size</span><span class="symbol">:</span> <a href="../-modal-size/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.String, kotlin.String, kotlin.String, 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.String, kotlin.String, kotlin.String, 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.String, kotlin.String, kotlin.String, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/yesTitle">yesTitle</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "Yes"<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.String, kotlin.String, kotlin.String, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/noTitle">noTitle</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "No"<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.String, kotlin.String, kotlin.String, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/cancelTitle">cancelTitle</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "Cancel"<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.String, kotlin.String, kotlin.String, 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.String, kotlin.String, kotlin.String, 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/-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span></code> +<p>Text align.</p> +</td> +</tr> +<tr> +<td> +<p><a href="cancel-title.html">cancelTitle</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">cancelTitle</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code> +<p>Cancel button text.</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="no-title.html">noTitle</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">noTitle</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code> +<p>No button text.</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> +<tr> +<td> +<p><a href="yes-title.html">yesTitle</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">yesTitle</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code> +<p>Yes button 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 caption 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="../-modal-size/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-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="../-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.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.modal.Modal$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="../-modal/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="../-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.String, kotlin.String, kotlin.String, 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.String, kotlin.String, kotlin.String, 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.String, kotlin.String, kotlin.String, 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.String, kotlin.String, kotlin.String, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.html/-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.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.String, kotlin.String, kotlin.String, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/size">size</span><span class="symbol">:</span> <a href="../-modal-size/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.String, kotlin.String, kotlin.String, 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.String, kotlin.String, kotlin.String, 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.String, kotlin.String, kotlin.String, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/yesTitle">yesTitle</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "Yes"<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.String, kotlin.String, kotlin.String, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/noTitle">noTitle</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "No"<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.String, kotlin.String, kotlin.String, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/cancelTitle">cancelTitle</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "Cancel"<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.String, kotlin.String, kotlin.String, 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.String, kotlin.String, kotlin.String, 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/api/pl.treksoft.kvision.modal/-confirm/no-title.html b/api/pl.treksoft.kvision.modal/-confirm/no-title.html new file mode 100644 index 00000000..93a01de5 --- /dev/null +++ b/api/pl.treksoft.kvision.modal/-confirm/no-title.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Confirm.noTitle - 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="./no-title.html">noTitle</a><br/> +<br/> +<h1>noTitle</h1> +<a name="pl.treksoft.kvision.modal.Confirm$noTitle"></a> +<code><span class="keyword">var </span><span class="identifier">noTitle</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code> +<p>No button text.</p> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.modal/-confirm/rich.html b/api/pl.treksoft.kvision.modal/-confirm/rich.html new file mode 100644 index 00000000..bec66a34 --- /dev/null +++ b/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/api/pl.treksoft.kvision.modal/-confirm/show.html b/api/pl.treksoft.kvision.modal/-confirm/show.html new file mode 100644 index 00000000..be7a4c93 --- /dev/null +++ b/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.String, kotlin.String, kotlin.String, 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.String, kotlin.String, kotlin.String, 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.String, kotlin.String, kotlin.String, 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.String, kotlin.String, kotlin.String, 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.String, kotlin.String, kotlin.String, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/align">align</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.html/-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.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.String, kotlin.String, kotlin.String, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/size">size</span><span class="symbol">:</span> <a href="../-modal-size/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.String, kotlin.String, kotlin.String, 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.String, kotlin.String, kotlin.String, 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.String, kotlin.String, kotlin.String, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/yesTitle">yesTitle</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "Yes"<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.String, kotlin.String, kotlin.String, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/noTitle">noTitle</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "No"<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.String, kotlin.String, kotlin.String, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/cancelTitle">cancelTitle</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a> <span class="symbol">=</span> "Cancel"<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.String, kotlin.String, kotlin.String, 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.String, kotlin.String, kotlin.String, 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.String, kotlin.String, kotlin.String, 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/api/pl.treksoft.kvision.modal/-confirm/text.html b/api/pl.treksoft.kvision.modal/-confirm/text.html new file mode 100644 index 00000000..0ed63215 --- /dev/null +++ b/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/api/pl.treksoft.kvision.modal/-confirm/yes-title.html b/api/pl.treksoft.kvision.modal/-confirm/yes-title.html new file mode 100644 index 00000000..05a653f7 --- /dev/null +++ b/api/pl.treksoft.kvision.modal/-confirm/yes-title.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Confirm.yesTitle - 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="./yes-title.html">yesTitle</a><br/> +<br/> +<h1>yesTitle</h1> +<a name="pl.treksoft.kvision.modal.Confirm$yesTitle"></a> +<code><span class="keyword">var </span><span class="identifier">yesTitle</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code> +<p>Yes button text.</p> +</BODY> +</HTML> |