summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.dropdown/-drop-down/add.html
blob: d549b2820acbb886f4b333235420a29fd9e8fa1b (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>DropDown.add - 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.dropdown</a>&nbsp;/&nbsp;<a href="index.html">DropDown</a>&nbsp;/&nbsp;<a href="./add.html">add</a><br/>
<br/>
<h1>add</h1>
(js) <a name="pl.treksoft.kvision.dropdown.DropDown$add(pl.treksoft.kvision.core.Component)"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">add</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.dropdown.DropDown$add(pl.treksoft.kvision.core.Component)/child">child</span><span class="symbol">:</span>&nbsp;<a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a></code>
<p>Adds given component to the current container.</p>
<h3>Parameters</h3>
<p><a name="child"></a>
<code>child</code> - child component</p>
<p><strong>Return</strong><br/>
current container</p>
</BODY>
</HTML>