aboutsummaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.core/-style/refresh-on-update.html
blob: ebb5c419ec73de1cee6bcf42d79b437a48027474 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>Style.refreshOnUpdate - 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.core</a>&nbsp;/&nbsp;<a href="index.html">Style</a>&nbsp;/&nbsp;<a href="./refresh-on-update.html">refreshOnUpdate</a><br/>
<br/>
<h1>refreshOnUpdate</h1>
(js) <a name="pl.treksoft.kvision.core.Style$refreshOnUpdate(kotlin.Function1((pl.treksoft.kvision.core.Style.refreshOnUpdate.T, kotlin.Unit)))"></a>
<code><span class="keyword">protected</span> <span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span> <span class="identifier">refreshOnUpdate</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Style$refreshOnUpdate(kotlin.Function1((pl.treksoft.kvision.core.Style.refreshOnUpdate.T, kotlin.Unit)))/refreshFunction">refreshFunction</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">T</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>&nbsp;<span class="symbol">=</span>&nbsp;{ this.refresh() }<span class="symbol">)</span><span class="symbol">: </span><span class="identifier">RefreshDelegateProvider</span><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span></code><br/>
<a name="pl.treksoft.kvision.core.Style$refreshOnUpdate(pl.treksoft.kvision.core.Style.refreshOnUpdate.T, kotlin.Function1((pl.treksoft.kvision.core.Style.refreshOnUpdate.T, kotlin.Unit)))"></a>
<code><span class="keyword">protected</span> <span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span> <span class="identifier">refreshOnUpdate</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Style$refreshOnUpdate(pl.treksoft.kvision.core.Style.refreshOnUpdate.T, kotlin.Function1((pl.treksoft.kvision.core.Style.refreshOnUpdate.T, kotlin.Unit)))/initialValue">initialValue</span><span class="symbol">:</span>&nbsp;<span class="identifier">T</span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.core.Style$refreshOnUpdate(pl.treksoft.kvision.core.Style.refreshOnUpdate.T, kotlin.Function1((pl.treksoft.kvision.core.Style.refreshOnUpdate.T, kotlin.Unit)))/refreshFunction">refreshFunction</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">T</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>&nbsp;<span class="symbol">=</span>&nbsp;{ this.refresh() }<span class="symbol">)</span><span class="symbol">: </span><span class="identifier">RefreshDelegateProvider</span><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span></code>
</BODY>
</HTML>