diff options
author | Robert Jaros <rjaros@finn.pl> | 2019-04-24 23:12:48 +0200 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2019-04-24 23:12:48 +0200 |
commit | 8449ff519f3d853ca82c792dccf12d06fb09b627 (patch) | |
tree | 079a926cc6d418e2936a1b1797e39dde34710dd0 /api/pl.treksoft.kvision.core/-style/index.html | |
parent | e361ab18f355ff81ef61406543b918d4a2b9567c (diff) | |
download | kvision-8449ff519f3d853ca82c792dccf12d06fb09b627.tar.gz kvision-8449ff519f3d853ca82c792dccf12d06fb09b627.tar.bz2 kvision-8449ff519f3d853ca82c792dccf12d06fb09b627.zip |
API documentation for KVision 0.0.35
Diffstat (limited to 'api/pl.treksoft.kvision.core/-style/index.html')
-rw-r--r-- | api/pl.treksoft.kvision.core/-style/index.html | 40 |
1 files changed, 33 insertions, 7 deletions
diff --git a/api/pl.treksoft.kvision.core/-style/index.html b/api/pl.treksoft.kvision.core/-style/index.html index 61661f10..53c9d760 100644 --- a/api/pl.treksoft.kvision.core/-style/index.html +++ b/api/pl.treksoft.kvision.core/-style/index.html @@ -10,6 +10,25 @@ <h1>Style</h1> <code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Style</span> <span class="symbol">:</span> <a href="../-styled-component/index.html"><span class="identifier">StyledComponent</span></a></code> <p>CSS style object.</p> +<h3>Types</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-refresh-delegate/index.html">RefreshDelegate</a></p> +</td> +<td> +<code><span class="keyword">inner</span> <span class="keyword">class </span><span class="identifier">RefreshDelegate</span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span></code></td> +</tr> +<tr> +<td> +<p><a href="-refresh-delegate-provider/index.html">RefreshDelegateProvider</a></p> +</td> +<td> +<code><span class="keyword">inner</span> <span class="keyword">class </span><span class="identifier">RefreshDelegateProvider</span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span></code></td> +</tr> +</tbody> +</table> <h3>Constructors</h3> <table> <tbody> @@ -635,6 +654,14 @@ </tr> <tr> <td> +<p><a href="refresh-on-update.html">refreshOnUpdate</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></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> <span class="symbol">(</span><a href="refresh-on-update.html#T"><span class="identifier">T</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> <span class="symbol">=</span> { this.refresh() }<span class="symbol">)</span><span class="symbol">: </span><a href="-refresh-delegate-provider/index.html"><span class="identifier">Style.RefreshDelegateProvider</span></a><span class="symbol"><</span><a href="refresh-on-update.html#T"><span class="identifier">T</span></a><span class="symbol">></span></code><br/> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></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> <a href="refresh-on-update.html#T"><span class="identifier">T</span></a><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> <span class="symbol">(</span><a href="refresh-on-update.html#T"><span class="identifier">T</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> <span class="symbol">=</span> { this.refresh() }<span class="symbol">)</span><span class="symbol">: </span><a href="-refresh-delegate-provider/index.html"><span class="identifier">Style.RefreshDelegateProvider</span></a><span class="symbol"><</span><a href="refresh-on-update.html#T"><span class="identifier">T</span></a><span class="symbol">></span></code></td> +</tr> +<tr> +<td> <p><a href="remove-css-class.html">removeCssClass</a></p> </td> <td> @@ -662,20 +689,19 @@ <tbody> <tr> <td> -<p><a href="../-styled-component/get-sn-style.html">getSnStyle</a></p> +<p><a href="../-styled-component/get-cache-key.html">getCacheKey</a></p> </td> <td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getSnStyle</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="../-string-pair.html"><span class="identifier">StringPair</span></a><span class="symbol">></span></code> -<p>Returns the list of String pairs defining CSS style attributes and their values.</p> -</td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getCacheKey</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code></td> </tr> <tr> <td> -<p><a href="../-styled-component/refresh-on-update.html">refreshOnUpdate</a></p> +<p><a href="../-styled-component/get-sn-style.html">getSnStyle</a></p> </td> <td> -<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span> <span class="identifier">refreshOnUpdate</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.StyledComponent$refreshOnUpdate(kotlin.Function1((pl.treksoft.kvision.core.StyledComponent.refreshOnUpdate.T, kotlin.Unit)))/refreshFunction">refreshFunction</span><span class="symbol">:</span> <span class="symbol">(</span><a href="../-styled-component/refresh-on-update.html#T"><span class="identifier">T</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> <span class="symbol">=</span> { this.refresh() }<span class="symbol">)</span><span class="symbol">: </span><a href="../-styled-component/-refresh-delegate-provider/index.html"><span class="identifier">StyledComponent.RefreshDelegateProvider</span></a><span class="symbol"><</span><a href="../-styled-component/refresh-on-update.html#T"><span class="identifier">T</span></a><span class="symbol">></span></code><br/> -<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span> <span class="identifier">refreshOnUpdate</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.StyledComponent$refreshOnUpdate(pl.treksoft.kvision.core.StyledComponent.refreshOnUpdate.T, kotlin.Function1((pl.treksoft.kvision.core.StyledComponent.refreshOnUpdate.T, kotlin.Unit)))/initialValue">initialValue</span><span class="symbol">:</span> <a href="../-styled-component/refresh-on-update.html#T"><span class="identifier">T</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.core.StyledComponent$refreshOnUpdate(pl.treksoft.kvision.core.StyledComponent.refreshOnUpdate.T, kotlin.Function1((pl.treksoft.kvision.core.StyledComponent.refreshOnUpdate.T, kotlin.Unit)))/refreshFunction">refreshFunction</span><span class="symbol">:</span> <span class="symbol">(</span><a href="../-styled-component/refresh-on-update.html#T"><span class="identifier">T</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> <span class="symbol">=</span> { this.refresh() }<span class="symbol">)</span><span class="symbol">: </span><a href="../-styled-component/-refresh-delegate-provider/index.html"><span class="identifier">StyledComponent.RefreshDelegateProvider</span></a><span class="symbol"><</span><a href="../-styled-component/refresh-on-update.html#T"><span class="identifier">T</span></a><span class="symbol">></span></code></td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getSnStyle</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="../-string-pair.html"><span class="identifier">StringPair</span></a><span class="symbol">></span></code> +<p>Returns the list of String pairs defining CSS style attributes and their values.</p> +</td> </tr> </tbody> </table> |