diff options
author | Robert Jaros <rjaros@finn.pl> | 2019-06-23 14:12:10 +0200 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2019-06-23 14:12:10 +0200 |
commit | bc2152266d0aa8b749d5202d54f9e7c4a5db5b5b (patch) | |
tree | 5fe76e243d94095bf2368122acb21db84a693aef /api/pl.treksoft.kvision.core/-widget | |
parent | a8ff23c5e58394c21e2e7c2a4880302b43b60dfd (diff) | |
download | kvision-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/-widget')
5 files changed, 119 insertions, 1 deletions
diff --git a/api/pl.treksoft.kvision.core/-widget/get-attribute.html b/api/pl.treksoft.kvision.core/-widget/get-attribute.html new file mode 100644 index 00000000..52218802 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-widget/get-attribute.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Widget.getAttribute - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.core</a> / <a href="index.html">Widget</a> / <a href="./get-attribute.html">getAttribute</a><br/> +<br/> +<h1>getAttribute</h1> +<a name="pl.treksoft.kvision.core.Widget$getAttribute(kotlin.String)"></a> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getAttribute</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$getAttribute(kotlin.String)/name">name</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><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>Overrides <a href="../-component/get-attribute.html">Component.getAttribute</a></p> +<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/-widget/index.html b/api/pl.treksoft.kvision.core/-widget/index.html index a60e4697..ae49be9f 100644 --- a/api/pl.treksoft.kvision.core/-widget/index.html +++ b/api/pl.treksoft.kvision.core/-widget/index.html @@ -8,7 +8,7 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.core</a> / <a href="./index.html">Widget</a><br/> <br/> <h1>Widget</h1> -<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Widget</span> <span class="symbol">:</span> <a href="../-styled-component/index.html"><span class="identifier">StyledComponent</span></a></code> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Widget</span> <span class="symbol">:</span> <a href="../-styled-component/index.html"><span class="identifier">StyledComponent</span></a><span class="symbol">, </span><a href="../-component/index.html"><span class="identifier">Component</span></a></code> <p>Base widget class. The parent of all component classes.</p> <p>A simple widget is rendered as HTML DIV element.</p> <h3>Types</h3> @@ -106,6 +106,15 @@ </tr> <tr> <td> +<p><a href="strict-d-o-m.html">strictDOM</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">strictDOM</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code> +<p>Determines if the current widget is strictly bound to the DOM.</p> +</td> +</tr> +<tr> +<td> <p><a href="surrounding-span.html">surroundingSpan</a></p> </td> <td> @@ -785,6 +794,15 @@ </tr> <tr> <td> +<p><a href="get-attribute.html">getAttribute</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getAttribute</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$getAttribute(kotlin.String)/name">name</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><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> @@ -883,6 +901,15 @@ </tr> <tr> <td> +<p><a href="remove-attribute.html">removeAttribute</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeAttribute</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$removeAttribute(kotlin.String)/name">name</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><span class="symbol">: </span><a href="./index.html"><span class="identifier">Widget</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> @@ -925,6 +952,15 @@ </tr> <tr> <td> +<p><a href="set-attribute.html">setAttribute</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">setAttribute</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$setAttribute(kotlin.String, kotlin.String)/name">name</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><span class="identifier" id="pl.treksoft.kvision.core.Widget$setAttribute(kotlin.String, kotlin.String)/value">value</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><span class="symbol">: </span><a href="./index.html"><span class="identifier">Widget</span></a></code> +<p>Sets the value of additional attribute.</p> +</td> +</tr> +<tr> +<td> <p><a href="set-context-menu.html">setContextMenu</a></p> </td> <td> diff --git a/api/pl.treksoft.kvision.core/-widget/remove-attribute.html b/api/pl.treksoft.kvision.core/-widget/remove-attribute.html new file mode 100644 index 00000000..bd43215d --- /dev/null +++ b/api/pl.treksoft.kvision.core/-widget/remove-attribute.html @@ -0,0 +1,19 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Widget.removeAttribute - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.core</a> / <a href="index.html">Widget</a> / <a href="./remove-attribute.html">removeAttribute</a><br/> +<br/> +<h1>removeAttribute</h1> +<a name="pl.treksoft.kvision.core.Widget$removeAttribute(kotlin.String)"></a> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeAttribute</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$removeAttribute(kotlin.String)/name">name</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><span class="symbol">: </span><a href="index.html"><span class="identifier">Widget</span></a></code> +<p>Overrides <a href="../-component/remove-attribute.html">Component.removeAttribute</a></p> +<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/-widget/set-attribute.html b/api/pl.treksoft.kvision.core/-widget/set-attribute.html new file mode 100644 index 00000000..6ab4ccca --- /dev/null +++ b/api/pl.treksoft.kvision.core/-widget/set-attribute.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Widget.setAttribute - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.core</a> / <a href="index.html">Widget</a> / <a href="./set-attribute.html">setAttribute</a><br/> +<br/> +<h1>setAttribute</h1> +<a name="pl.treksoft.kvision.core.Widget$setAttribute(kotlin.String, kotlin.String)"></a> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">setAttribute</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$setAttribute(kotlin.String, kotlin.String)/name">name</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><span class="identifier" id="pl.treksoft.kvision.core.Widget$setAttribute(kotlin.String, kotlin.String)/value">value</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><span class="symbol">: </span><a href="index.html"><span class="identifier">Widget</span></a></code> +<p>Overrides <a href="../-component/set-attribute.html">Component.setAttribute</a></p> +<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> diff --git a/api/pl.treksoft.kvision.core/-widget/strict-d-o-m.html b/api/pl.treksoft.kvision.core/-widget/strict-d-o-m.html new file mode 100644 index 00000000..da9715a0 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-widget/strict-d-o-m.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Widget.strictDOM - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.core</a> / <a href="index.html">Widget</a> / <a href="./strict-d-o-m.html">strictDOM</a><br/> +<br/> +<h1>strictDOM</h1> +<a name="pl.treksoft.kvision.core.Widget$strictDOM"></a> +<code><span class="keyword">var </span><span class="identifier">strictDOM</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code> +<p>Determines if the current widget is strictly bound to the DOM.</p> +<p><strong>Getter</strong><br/> +<p>Determines if the current widget is strictly bound to the DOM.</p> +</p> +<p><strong>Setter</strong><br/> +<p>Determines if the current widget is strictly bound to the DOM.</p> +</p> +</BODY> +</HTML> |