aboutsummaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.core/-component/set-attribute.html
blob: 521cb74ec73491d38846488f3ecac474baadd2f4 (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.setAttribute - 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="./set-attribute.html">setAttribute</a><br/>
<br/>
<h1>setAttribute</h1>
<a name="pl.treksoft.kvision.core.Component$setAttribute(kotlin.String, kotlin.String)"></a>
<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">setAttribute</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Component$setAttribute(kotlin.String, kotlin.String)/name">name</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="identifier" id="pl.treksoft.kvision.core.Component$setAttribute(kotlin.String, kotlin.String)/value">value</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>Sets the value of additional attribute.</p>
<h3>Parameters</h3>
<p><a name="name"></a>
<code>name</code> - the name of the attribute</p>
<p><a name="value"></a>
<code>value</code> - the value of the attribute</p>
</BODY>
</HTML>