diff options
Diffstat (limited to 'api/pl.treksoft.kvision.modal/-confirm/show.html')
-rw-r--r-- | api/pl.treksoft.kvision.modal/-confirm/show.html | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/api/pl.treksoft.kvision.modal/-confirm/show.html b/api/pl.treksoft.kvision.modal/-confirm/show.html index 06d6398a..bffbfd24 100644 --- a/api/pl.treksoft.kvision.modal/-confirm/show.html +++ b/api/pl.treksoft.kvision.modal/-confirm/show.html @@ -8,8 +8,8 @@ <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> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="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> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> +<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.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.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.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.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.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.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.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.Boolean, kotlin.String, kotlin.String, kotlin.String, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/centered">centered</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.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.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.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.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.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.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> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="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.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> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">)</span><span class="symbol">: </span><a href="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> @@ -17,13 +17,15 @@ <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> +<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.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="centered"></a> +<code>centered</code> - determines if modal dialog is vertically centered</p> <p><a name="cancelVisible"></a> <code>cancelVisible</code> - determines if Cancel button is visible</p> <p><a name="noCallback"></a> |