summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.form.select/-simple-select/subscribe.html
blob: f6c75856cedd650c00c6ea6062bda88d9412862e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>SimpleSelect.subscribe - 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.form.select</a>&nbsp;/&nbsp;<a href="index.html">SimpleSelect</a>&nbsp;/&nbsp;<a href="./subscribe.html">subscribe</a><br/>
<br/>
<h1>subscribe</h1>
(js) <a name="pl.treksoft.kvision.form.select.SimpleSelect$subscribe(kotlin.Function1((kotlin.String, kotlin.Unit)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">subscribe</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.select.SimpleSelect$subscribe(kotlin.Function1((kotlin.String, kotlin.Unit)))/observer">observer</span><span class="symbol">:</span>&nbsp;<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>&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><span class="symbol">(</span><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></code>
<p>Subscribe for the state change notifications.</p>
</BODY>
</HTML>