aboutsummaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.cordova/-notification/prompt.html
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2019-06-23 14:12:10 +0200
committerRobert Jaros <rjaros@finn.pl>2019-06-23 14:12:10 +0200
commitbc2152266d0aa8b749d5202d54f9e7c4a5db5b5b (patch)
tree5fe76e243d94095bf2368122acb21db84a693aef /api/pl.treksoft.kvision.cordova/-notification/prompt.html
parenta8ff23c5e58394c21e2e7c2a4880302b43b60dfd (diff)
downloadkvision-bc2152266d0aa8b749d5202d54f9e7c4a5db5b5b.tar.gz
kvision-bc2152266d0aa8b749d5202d54f9e7c4a5db5b5b.tar.bz2
kvision-bc2152266d0aa8b749d5202d54f9e7c4a5db5b5b.zip
API documentation for KVision 0.0.37
Diffstat (limited to 'api/pl.treksoft.kvision.cordova/-notification/prompt.html')
-rw-r--r--api/pl.treksoft.kvision.cordova/-notification/prompt.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/api/pl.treksoft.kvision.cordova/-notification/prompt.html b/api/pl.treksoft.kvision.cordova/-notification/prompt.html
new file mode 100644
index 00000000..b45d249a
--- /dev/null
+++ b/api/pl.treksoft.kvision.cordova/-notification/prompt.html
@@ -0,0 +1,26 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>Notification.prompt - 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.cordova</a>&nbsp;/&nbsp;<a href="index.html">Notification</a>&nbsp;/&nbsp;<a href="./prompt.html">prompt</a><br/>
+<br/>
+<h1>prompt</h1>
+<a name="pl.treksoft.kvision.cordova.Notification$prompt(kotlin.String, kotlin.String, kotlin.collections.List((kotlin.String)), kotlin.String, kotlin.Function1((pl.treksoft.kvision.cordova.PromptResponse, kotlin.Unit)))"></a>
+<code><span class="keyword">fun </span><span class="identifier">prompt</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova.Notification$prompt(kotlin.String, kotlin.String, kotlin.collections.List((kotlin.String)), kotlin.String, kotlin.Function1((pl.treksoft.kvision.cordova.PromptResponse, kotlin.Unit)))/message">message</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><span class="identifier" id="pl.treksoft.kvision.cordova.Notification$prompt(kotlin.String, kotlin.String, kotlin.collections.List((kotlin.String)), kotlin.String, kotlin.Function1((pl.treksoft.kvision.cordova.PromptResponse, kotlin.Unit)))/title">title</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.cordova.Notification$prompt(kotlin.String, kotlin.String, kotlin.collections.List((kotlin.String)), kotlin.String, kotlin.Function1((pl.treksoft.kvision.cordova.PromptResponse, kotlin.Unit)))/buttonLabels">buttonLabels</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="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">&gt;</span><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.cordova.Notification$prompt(kotlin.String, kotlin.String, kotlin.collections.List((kotlin.String)), kotlin.String, kotlin.Function1((pl.treksoft.kvision.cordova.PromptResponse, kotlin.Unit)))/defaultText">defaultText</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.cordova.Notification$prompt(kotlin.String, kotlin.String, kotlin.collections.List((kotlin.String)), kotlin.String, kotlin.Function1((pl.treksoft.kvision.cordova.PromptResponse, kotlin.Unit)))/callback">callback</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><a href="../-prompt-response/index.html"><span class="identifier">PromptResponse</span></a><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><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>Show prompt dialog.</p>
+<h3>Parameters</h3>
+<p><a name="message"></a>
+<code>message</code> - a message</p>
+<p><a name="title"></a>
+<code>title</code> - an optional dialog title (defaults to Prompt)</p>
+<p><a name="buttonLabels"></a>
+<code>buttonLabels</code> - an optional list of button labels (defaults to <a href="#">OK,Cancel</a>)</p>
+<p><a name="defaultText"></a>
+<code>defaultText</code> - default input value (default to empty string)</p>
+<p><a name="callback"></a>
+<code>callback</code> - a callback function</p>
+</BODY>
+</HTML>