aboutsummaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.core/-component
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2019-06-23 14:12:10 +0200
committerRobert Jaros <rjaros@finn.pl>2019-06-23 14:12:10 +0200
commitbc2152266d0aa8b749d5202d54f9e7c4a5db5b5b (patch)
tree5fe76e243d94095bf2368122acb21db84a693aef /api/pl.treksoft.kvision.core/-component
parenta8ff23c5e58394c21e2e7c2a4880302b43b60dfd (diff)
downloadkvision-bc2152266d0aa8b749d5202d54f9e7c4a5db5b5b.tar.gz
kvision-bc2152266d0aa8b749d5202d54f9e7c4a5db5b5b.tar.bz2
kvision-bc2152266d0aa8b749d5202d54f9e7c4a5db5b5b.zip
API documentation for KVision 0.0.37
Diffstat (limited to 'api/pl.treksoft.kvision.core/-component')
-rw-r--r--api/pl.treksoft.kvision.core/-component/get-attribute.html20
-rw-r--r--api/pl.treksoft.kvision.core/-component/index.html33
-rw-r--r--api/pl.treksoft.kvision.core/-component/remove-attribute.html18
-rw-r--r--api/pl.treksoft.kvision.core/-component/set-attribute.html20
4 files changed, 88 insertions, 3 deletions
diff --git a/api/pl.treksoft.kvision.core/-component/get-attribute.html b/api/pl.treksoft.kvision.core/-component/get-attribute.html
new file mode 100644
index 00000000..8694776f
--- /dev/null
+++ b/api/pl.treksoft.kvision.core/-component/get-attribute.html
@@ -0,0 +1,20 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>Component.getAttribute - 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="./get-attribute.html">getAttribute</a><br/>
+<br/>
+<h1>getAttribute</h1>
+<a name="pl.treksoft.kvision.core.Component$getAttribute(kotlin.String)"></a>
+<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">getAttribute</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Component$getAttribute(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="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code>
+<p>Returns the value of an additional attribute.</p>
+<h3>Parameters</h3>
+<p><a name="name"></a>
+<code>name</code> - the name of the attribute</p>
+<p><strong>Return</strong><br/>
+the value of the attribute</p>
+</BODY>
+</HTML>
diff --git a/api/pl.treksoft.kvision.core/-component/index.html b/api/pl.treksoft.kvision.core/-component/index.html
index 562f3048..3042d07c 100644
--- a/api/pl.treksoft.kvision.core/-component/index.html
+++ b/api/pl.treksoft.kvision.core/-component/index.html
@@ -60,6 +60,15 @@
</tr>
<tr>
<td>
+<p><a href="get-attribute.html">getAttribute</a></p>
+</td>
+<td>
+<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">getAttribute</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Component$getAttribute(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="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code>
+<p>Returns the value of an additional attribute.</p>
+</td>
+</tr>
+<tr>
+<td>
<p><a href="get-element.html">getElement</a></p>
</td>
<td>
@@ -87,6 +96,15 @@
</tr>
<tr>
<td>
+<p><a href="remove-attribute.html">removeAttribute</a></p>
+</td>
+<td>
+<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">removeAttribute</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Component$removeAttribute(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="symbol">: </span><a href="./index.html"><span class="identifier">Component</span></a></code>
+<p>Removes the value of additional attribute.</p>
+</td>
+</tr>
+<tr>
+<td>
<p><a href="remove-css-class.html">removeCssClass</a></p>
</td>
<td>
@@ -107,6 +125,15 @@
<p>Removes given style object from the set of CSS classes generated in html code of parent component.</p>
</td>
</tr>
+<tr>
+<td>
+<p><a href="set-attribute.html">setAttribute</a></p>
+</td>
+<td>
+<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>
+</td>
+</tr>
</tbody>
</table>
<h3>Extension Functions</h3>
@@ -153,11 +180,11 @@
</tr>
<tr>
<td>
-<p><a href="../-styled-component/index.html">StyledComponent</a></p>
+<p><a href="../-widget/index.html">Widget</a></p>
</td>
<td>
-<code><span class="keyword">abstract</span> <span class="keyword">class </span><span class="identifier">StyledComponent</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="./index.html"><span class="identifier">Component</span></a></code>
-<p>Base class for components supporting CSS styling.</p>
+<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Widget</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../-styled-component/index.html"><span class="identifier">StyledComponent</span></a><span class="symbol">, </span><a href="./index.html"><span class="identifier">Component</span></a></code>
+<p>Base widget class. The parent of all component classes.</p>
</td>
</tr>
</tbody>
diff --git a/api/pl.treksoft.kvision.core/-component/remove-attribute.html b/api/pl.treksoft.kvision.core/-component/remove-attribute.html
new file mode 100644
index 00000000..460611a2
--- /dev/null
+++ b/api/pl.treksoft.kvision.core/-component/remove-attribute.html
@@ -0,0 +1,18 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>Component.removeAttribute - 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="./remove-attribute.html">removeAttribute</a><br/>
+<br/>
+<h1>removeAttribute</h1>
+<a name="pl.treksoft.kvision.core.Component$removeAttribute(kotlin.String)"></a>
+<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">removeAttribute</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Component$removeAttribute(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="symbol">: </span><a href="index.html"><span class="identifier">Component</span></a></code>
+<p>Removes the value of additional attribute.</p>
+<h3>Parameters</h3>
+<p><a name="name"></a>
+<code>name</code> - the name of the attribute</p>
+</BODY>
+</HTML>
diff --git a/api/pl.treksoft.kvision.core/-component/set-attribute.html b/api/pl.treksoft.kvision.core/-component/set-attribute.html
new file mode 100644
index 00000000..521cb74e
--- /dev/null
+++ b/api/pl.treksoft.kvision.core/-component/set-attribute.html
@@ -0,0 +1,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>