aboutsummaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.core/-widget/add-css-class.html
blob: 7f6242d68834b47eb4ce41643b179849c9d58a4f (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
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>Widget.addCssClass - 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">Widget</a>&nbsp;/&nbsp;<a href="./add-css-class.html">addCssClass</a><br/>
<br/>
<h1>addCssClass</h1>
<a name="pl.treksoft.kvision.core.Widget$addCssClass(kotlin.String)"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">addCssClass</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$addCssClass(kotlin.String)/css">css</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="symbol">: </span><a href="index.html"><span class="identifier">Widget</span></a></code>
<p>Overrides <a href="../-component/add-css-class.html">Component.addCssClass</a></p>
<p>Adds given value to the set of CSS classes generated in html code of current component.</p>
<h3>Parameters</h3>
<p><a name="css"></a>
<code>css</code> - CSS class name</p>
<p><strong>Return</strong><br/>
current component</p>
<a name="pl.treksoft.kvision.core.Widget$addCssClass(pl.treksoft.kvision.core.Style)"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">addCssClass</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$addCssClass(pl.treksoft.kvision.core.Style)/css">css</span><span class="symbol">:</span>&nbsp;<a href="../-style/index.html"><span class="identifier">Style</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">Widget</span></a></code>
<p>Overrides <a href="../-component/add-css-class.html">Component.addCssClass</a></p>
<p>Adds given style object to the set of CSS classes generated in html code of current component.</p>
<h3>Parameters</h3>
<p><a name="css"></a>
<code>css</code> - CSS style object</p>
<p><strong>Return</strong><br/>
current component</p>
</BODY>
</HTML>