aboutsummaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.toast/-toast/error.html
blob: 95cfd602c8f4925794568a2ac04967bc1a166e30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>Toast.error - 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>&nbsp;/&nbsp;<a href="./error.html">error</a><br/>
<br/>
<h1>error</h1>
(js) <a name="pl.treksoft.kvision.toast.Toast$error(kotlin.String, kotlin.String, pl.treksoft.kvision.toast.ToastOptions)"></a>
<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>
<p>Shows an error toast.</p>
<h3>Parameters</h3>
<p><a name="message"></a>
<code>message</code> - a toast message</p>
<p><a name="title"></a>
<code>title</code> - a toast title</p>
<p><a name="options"></a>
<code>options</code> - toast options</p>
</BODY>
</HTML>