aboutsummaryrefslogtreecommitdiff
path: root/docs/api/pl.treksoft.kvision.core/-component/add-surrounding-css-class.html
blob: 20d8527abac622110e0352ebce78feb354f60fb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>Component.addSurroundingCssClass - 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">Component</a>&nbsp;/&nbsp;<a href="./add-surrounding-css-class.html">addSurroundingCssClass</a><br/>
<br/>
<h1>addSurroundingCssClass</h1>
<a name="pl.treksoft.kvision.core.Component$addSurroundingCssClass(kotlin.String)"></a>
<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">addSurroundingCssClass</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Component$addSurroundingCssClass(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">Component</span></a></code>
<p>Adds given value to the set of CSS classes generated in html code of parent 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>
</BODY>
</HTML>