summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.toast/-toast/index.html
blob: 3ea7643bb344e40aa8e096f0f16c8b894e17faa1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>Toast - 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.toast</a>&nbsp;/&nbsp;<a href="./index.html">Toast</a><br/>
<br/>
<h1>Toast</h1>
(js) <code><span class="keyword">object </span><span class="identifier">Toast</span></code>
<p>Toast component object.</p>
<h3>Functions</h3>
<table>
<tbody>
<tr>
<td>
(js) 
<h4><a href="error.html">error</a></h4>
</td>
<td>
<p>Shows an error toast.</p>
<code><span class="keyword">fun </span><span class="identifier">error</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.toast.Toast$error(kotlin.String, kotlin.String, pl.treksoft.kvision.toast.ToastOptions)/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.toast.Toast$error(kotlin.String, kotlin.String, pl.treksoft.kvision.toast.ToastOptions)/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.toast.Toast$error(kotlin.String, kotlin.String, pl.treksoft.kvision.toast.ToastOptions)/options">options</span><span class="symbol">:</span>&nbsp;<a href="../-toast-options/index.html"><span class="identifier">ToastOptions</span></a><span class="symbol">?</span>&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></td>
</tr>
<tr>
<td>
(js) 
<h4><a href="info.html">info</a></h4>
</td>
<td>
<p>Shows an info toast.</p>
<code><span class="keyword">fun </span><span class="identifier">info</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.toast.Toast$info(kotlin.String, kotlin.String, pl.treksoft.kvision.toast.ToastOptions)/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.toast.Toast$info(kotlin.String, kotlin.String, pl.treksoft.kvision.toast.ToastOptions)/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.toast.Toast$info(kotlin.String, kotlin.String, pl.treksoft.kvision.toast.ToastOptions)/options">options</span><span class="symbol">:</span>&nbsp;<a href="../-toast-options/index.html"><span class="identifier">ToastOptions</span></a><span class="symbol">?</span>&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></td>
</tr>
<tr>
<td>
(js) 
<h4><a href="success.html">success</a></h4>
</td>
<td>
<p>Shows a success toast.</p>
<code><span class="keyword">fun </span><span class="identifier">success</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.toast.Toast$success(kotlin.String, kotlin.String, pl.treksoft.kvision.toast.ToastOptions)/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.toast.Toast$success(kotlin.String, kotlin.String, pl.treksoft.kvision.toast.ToastOptions)/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.toast.Toast$success(kotlin.String, kotlin.String, pl.treksoft.kvision.toast.ToastOptions)/options">options</span><span class="symbol">:</span>&nbsp;<a href="../-toast-options/index.html"><span class="identifier">ToastOptions</span></a><span class="symbol">?</span>&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></td>
</tr>
<tr>
<td>
(js) 
<h4><a href="warning.html">warning</a></h4>
</td>
<td>
<p>Shows a warning toast.</p>
<code><span class="keyword">fun </span><span class="identifier">warning</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.toast.Toast$warning(kotlin.String, kotlin.String, pl.treksoft.kvision.toast.ToastOptions)/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.toast.Toast$warning(kotlin.String, kotlin.String, pl.treksoft.kvision.toast.ToastOptions)/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.toast.Toast$warning(kotlin.String, kotlin.String, pl.treksoft.kvision.toast.ToastOptions)/options">options</span><span class="symbol">:</span>&nbsp;<a href="../-toast-options/index.html"><span class="identifier">ToastOptions</span></a><span class="symbol">?</span>&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></td>
</tr>
</tbody>
</table>
</BODY>
</HTML>