<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> / <a href="../index.html">pl.treksoft.kvision.dropdown</a> / <a href="index.html">DropDown</a> / <a href="./add.html">add</a><br/> <br/> <h1>add</h1> <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> <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>Overrides <a href="../../pl.treksoft.kvision.panel/-simple-panel/add.html">SimplePanel.add</a></p> <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>