summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.data/-data-component.html
diff options
context:
space:
mode:
Diffstat (limited to 'api/pl.treksoft.kvision.data/-data-component.html')
-rw-r--r--api/pl.treksoft.kvision.data/-data-component.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/api/pl.treksoft.kvision.data/-data-component.html b/api/pl.treksoft.kvision.data/-data-component.html
index 1bca7fb4..4305c372 100644
--- a/api/pl.treksoft.kvision.data/-data-component.html
+++ b/api/pl.treksoft.kvision.data/-data-component.html
@@ -10,6 +10,20 @@
<h1>DataComponent</h1>
<code><span class="keyword">interface </span><span class="identifier">DataComponent</span></code>
<p>Base interface for observable data model.</p>
+<h3>Extension Functions</h3>
+<table>
+<tbody>
+<tr>
+<td>
+<p><a href="../pl.treksoft.kvision.utils/kotlin.-any/create-instance.html">createInstance</a></p>
+</td>
+<td>
+<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">?</span><span class="symbol">.</span><span class="identifier">createInstance</span><span class="symbol">(</span><span class="keyword">vararg</span> <span class="identifier" id="pl.treksoft.kvision.utils$createInstance(kotlin.Any, kotlin.Array((kotlin.Any)))/args">args</span><span class="symbol">:</span>&nbsp;<span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">: </span><a href="../pl.treksoft.kvision.utils/kotlin.-any/create-instance.html#T"><span class="identifier">T</span></a></code>
+<p>Helper function for creating JavaScript objects from dynamic constructors.</p>
+</td>
+</tr>
+</tbody>
+</table>
<h3>Inheritors</h3>
<table>
<tbody>