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 | |
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')
22 files changed, 238 insertions, 402 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> / <a href="../index.html">pl.treksoft.kvision.core</a> / <a href="index.html">Component</a> / <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> <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> <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> <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> <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> <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> <span class="symbol">:</span> <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> <span class="symbol">:</span> <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> / <a href="../index.html">pl.treksoft.kvision.core</a> / <a href="index.html">Component</a> / <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> <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> / <a href="../index.html">pl.treksoft.kvision.core</a> / <a href="index.html">Component</a> / <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> <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> <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> diff --git a/api/pl.treksoft.kvision.core/-container/index.html b/api/pl.treksoft.kvision.core/-container/index.html index 530ca02f..56cf68c7 100644 --- a/api/pl.treksoft.kvision.core/-container/index.html +++ b/api/pl.treksoft.kvision.core/-container/index.html @@ -119,6 +119,15 @@ </tr> <tr> <td> +<p><a href="../-component/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> <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="../-component/get-element.html">getElement</a></p> </td> <td> @@ -146,6 +155,15 @@ </tr> <tr> <td> +<p><a href="../-component/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> <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="../-component/index.html"><span class="identifier">Component</span></a></code> +<p>Removes the value of additional attribute.</p> +</td> +</tr> +<tr> +<td> <p><a href="../-component/remove-css-class.html">removeCssClass</a></p> </td> <td> @@ -166,6 +184,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="../-component/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> <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> <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="../-component/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> diff --git a/api/pl.treksoft.kvision.core/-style/add-css-class.html b/api/pl.treksoft.kvision.core/-style/add-css-class.html deleted file mode 100644 index e38db41e..00000000 --- a/api/pl.treksoft.kvision.core/-style/add-css-class.html +++ /dev/null @@ -1,30 +0,0 @@ -<HTML> -<HEAD> -<meta charset="UTF-8"> -<title>Style.addCssClass - 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">Style</a> / <a href="./add-css-class.html">addCssClass</a><br/> -<br/> -<h1>addCssClass</h1> -<a name="pl.treksoft.kvision.core.Style$addCssClass(kotlin.String)"></a> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">addCssClass</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Style$addCssClass(kotlin.String)/css">css</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="../-component/index.html"><span class="identifier">Component</span></a></code> -<p>Overrides <a href="../-component/add-css-class.html">Component.addCssClass</a></p> -<p>Adds given value to the set of CSS classes generated in html code of current component.</p> -<h3>Parameters</h3> -<p><a name="css"></a> -<code>css</code> - CSS class name</p> -<p><strong>Return</strong><br/> -current component</p> -<a name="pl.treksoft.kvision.core.Style$addCssClass(pl.treksoft.kvision.core.Style)"></a> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">addCssClass</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Style$addCssClass(pl.treksoft.kvision.core.Style)/css">css</span><span class="symbol">:</span> <a href="index.html"><span class="identifier">Style</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../-component/index.html"><span class="identifier">Component</span></a></code> -<p>Overrides <a href="../-component/add-css-class.html">Component.addCssClass</a></p> -<p>Adds given style object to the set of CSS classes generated in html code of current component.</p> -<h3>Parameters</h3> -<p><a name="css"></a> -<code>css</code> - CSS style object</p> -<p><strong>Return</strong><br/> -current component</p> -</BODY> -</HTML> diff --git a/api/pl.treksoft.kvision.core/-style/add-surrounding-css-class.html b/api/pl.treksoft.kvision.core/-style/add-surrounding-css-class.html deleted file mode 100644 index 0b827c33..00000000 --- a/api/pl.treksoft.kvision.core/-style/add-surrounding-css-class.html +++ /dev/null @@ -1,30 +0,0 @@ -<HTML> -<HEAD> -<meta charset="UTF-8"> -<title>Style.addSurroundingCssClass - 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">Style</a> / <a href="./add-surrounding-css-class.html">addSurroundingCssClass</a><br/> -<br/> -<h1>addSurroundingCssClass</h1> -<a name="pl.treksoft.kvision.core.Style$addSurroundingCssClass(kotlin.String)"></a> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">addSurroundingCssClass</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Style$addSurroundingCssClass(kotlin.String)/css">css</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="../-component/index.html"><span class="identifier">Component</span></a></code> -<p>Overrides <a href="../-component/add-surrounding-css-class.html">Component.addSurroundingCssClass</a></p> -<p>Adds given value to the set of CSS classes generated in html code of parent component.</p> -<h3>Parameters</h3> -<p><a name="css"></a> -<code>css</code> - CSS class name</p> -<p><strong>Return</strong><br/> -current component</p> -<a name="pl.treksoft.kvision.core.Style$addSurroundingCssClass(pl.treksoft.kvision.core.Style)"></a> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">addSurroundingCssClass</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Style$addSurroundingCssClass(pl.treksoft.kvision.core.Style)/css">css</span><span class="symbol">:</span> <a href="index.html"><span class="identifier">Style</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../-component/index.html"><span class="identifier">Component</span></a></code> -<p>Overrides <a href="../-component/add-surrounding-css-class.html">Component.addSurroundingCssClass</a></p> -<p>Adds given style object to the set of CSS classes generated in html code of parent component.</p> -<h3>Parameters</h3> -<p><a name="css"></a> -<code>css</code> - CSS style object</p> -<p><strong>Return</strong><br/> -current component</p> -</BODY> -</HTML> diff --git a/api/pl.treksoft.kvision.core/-style/get-element-j-query-d.html b/api/pl.treksoft.kvision.core/-style/get-element-j-query-d.html deleted file mode 100644 index 90aa259f..00000000 --- a/api/pl.treksoft.kvision.core/-style/get-element-j-query-d.html +++ /dev/null @@ -1,18 +0,0 @@ -<HTML> -<HEAD> -<meta charset="UTF-8"> -<title>Style.getElementJQueryD - 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">Style</a> / <a href="./get-element-j-query-d.html">getElementJQueryD</a><br/> -<br/> -<h1>getElementJQueryD</h1> -<a name="pl.treksoft.kvision.core.Style$getElementJQueryD()"></a> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getElementJQueryD</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="keyword">dynamic</span></code> -<p>Overrides <a href="../-component/get-element-j-query-d.html">Component.getElementJQueryD</a></p> -<p>Returns JQuery element bound to the current component as a <em>dynamic</em> type.</p> -<p><strong>Return</strong><br/> -JQuery element as a <em>dynamic</em> type</p> -</BODY> -</HTML> diff --git a/api/pl.treksoft.kvision.core/-style/get-element-j-query.html b/api/pl.treksoft.kvision.core/-style/get-element-j-query.html deleted file mode 100644 index cafeeba8..00000000 --- a/api/pl.treksoft.kvision.core/-style/get-element-j-query.html +++ /dev/null @@ -1,18 +0,0 @@ -<HTML> -<HEAD> -<meta charset="UTF-8"> -<title>Style.getElementJQuery - 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">Style</a> / <a href="./get-element-j-query.html">getElementJQuery</a><br/> -<br/> -<h1>getElementJQuery</h1> -<a name="pl.treksoft.kvision.core.Style$getElementJQuery()"></a> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getElementJQuery</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">JQuery</span><span class="symbol">?</span></code> -<p>Overrides <a href="../-component/get-element-j-query.html">Component.getElementJQuery</a></p> -<p>Returns JQuery element bound to the current component.</p> -<p><strong>Return</strong><br/> -JQuery element</p> -</BODY> -</HTML> diff --git a/api/pl.treksoft.kvision.core/-style/get-element.html b/api/pl.treksoft.kvision.core/-style/get-element.html deleted file mode 100644 index 8ceca345..00000000 --- a/api/pl.treksoft.kvision.core/-style/get-element.html +++ /dev/null @@ -1,18 +0,0 @@ -<HTML> -<HEAD> -<meta charset="UTF-8"> -<title>Style.getElement - 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">Style</a> / <a href="./get-element.html">getElement</a><br/> -<br/> -<h1>getElement</h1> -<a name="pl.treksoft.kvision.core.Style$getElement()"></a> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getElement</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/org.w3c.dom/-node/index.html"><span class="identifier">Node</span></a><span class="symbol">?</span></code> -<p>Overrides <a href="../-component/get-element.html">Component.getElement</a></p> -<p>Returns DOM element bound to the current component.</p> -<p><strong>Return</strong><br/> -DOM element</p> -</BODY> -</HTML> diff --git a/api/pl.treksoft.kvision.core/-style/index.html b/api/pl.treksoft.kvision.core/-style/index.html index 53c9d760..9a77e6b9 100644 --- a/api/pl.treksoft.kvision.core/-style/index.html +++ b/api/pl.treksoft.kvision.core/-style/index.html @@ -53,24 +53,6 @@ <p>The name of the CSS class.</p> </td> </tr> -<tr> -<td> -<p><a href="parent.html">parent</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">parent</span><span class="symbol">: </span><a href="../-container/index.html"><span class="identifier">Container</span></a><span class="symbol">?</span></code> -<p>Parent of the current component.</p> -</td> -</tr> -<tr> -<td> -<p><a href="visible.html">visible</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">visible</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>Visibility state of the current component.</p> -</td> -</tr> </tbody> </table> <h3>Inherited Properties</h3> @@ -605,83 +587,12 @@ <tbody> <tr> <td> -<p><a href="add-css-class.html">addCssClass</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">addCssClass</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Style$addCssClass(kotlin.String)/css">css</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="../-component/index.html"><span class="identifier">Component</span></a></code> -<p>Adds given value to the set of CSS classes generated in html code of current component.</p> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">addCssClass</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Style$addCssClass(pl.treksoft.kvision.core.Style)/css">css</span><span class="symbol">:</span> <a href="./index.html"><span class="identifier">Style</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../-component/index.html"><span class="identifier">Component</span></a></code> -<p>Adds given style object to the set of CSS classes generated in html code of current component.</p> -</td> -</tr> -<tr> -<td> -<p><a href="add-surrounding-css-class.html">addSurroundingCssClass</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">addSurroundingCssClass</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Style$addSurroundingCssClass(kotlin.String)/css">css</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="../-component/index.html"><span class="identifier">Component</span></a></code> -<p>Adds given value to the set of CSS classes generated in html code of parent component.</p> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">addSurroundingCssClass</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Style$addSurroundingCssClass(pl.treksoft.kvision.core.Style)/css">css</span><span class="symbol">:</span> <a href="./index.html"><span class="identifier">Style</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../-component/index.html"><span class="identifier">Component</span></a></code> -<p>Adds given style object to the set of CSS classes generated in html code of parent component.</p> -</td> -</tr> -<tr> -<td> -<p><a href="get-element.html">getElement</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getElement</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/org.w3c.dom/-node/index.html"><span class="identifier">Node</span></a><span class="symbol">?</span></code> -<p>Returns DOM element bound to the current component.</p> -</td> -</tr> -<tr> -<td> -<p><a href="get-element-j-query.html">getElementJQuery</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getElementJQuery</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">JQuery</span><span class="symbol">?</span></code> -<p>Returns JQuery element bound to the current component.</p> -</td> -</tr> -<tr> -<td> -<p><a href="get-element-j-query-d.html">getElementJQueryD</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getElementJQueryD</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="keyword">dynamic</span></code> -<p>Returns JQuery element bound to the current component as a <em>dynamic</em> type.</p> -</td> -</tr> -<tr> -<td> <p><a href="refresh-on-update.html">refreshOnUpdate</a></p> </td> <td> <code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span> <span class="identifier">refreshOnUpdate</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Style$refreshOnUpdate(kotlin.Function1((pl.treksoft.kvision.core.Style.refreshOnUpdate.T, kotlin.Unit)))/refreshFunction">refreshFunction</span><span class="symbol">:</span> <span class="symbol">(</span><a href="refresh-on-update.html#T"><span class="identifier">T</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a> <span class="symbol">=</span> { this.refresh() }<span class="symbol">)</span><span class="symbol">: </span><a href="-refresh-delegate-provider/index.html"><span class="identifier">Style.RefreshDelegateProvider</span></a><span class="symbol"><</span><a href="refresh-on-update.html#T"><span class="identifier">T</span></a><span class="symbol">></span></code><br/> <code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span> <span class="identifier">refreshOnUpdate</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Style$refreshOnUpdate(pl.treksoft.kvision.core.Style.refreshOnUpdate.T, kotlin.Function1((pl.treksoft.kvision.core.Style.refreshOnUpdate.T, kotlin.Unit)))/initialValue">initialValue</span><span class="symbol">:</span> <a href="refresh-on-update.html#T"><span class="identifier">T</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.core.Style$refreshOnUpdate(pl.treksoft.kvision.core.Style.refreshOnUpdate.T, kotlin.Function1((pl.treksoft.kvision.core.Style.refreshOnUpdate.T, kotlin.Unit)))/refreshFunction">refreshFunction</span><span class="symbol">:</span> <span class="symbol">(</span><a href="refresh-on-update.html#T"><span class="identifier">T</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a> <span class="symbol">=</span> { this.refresh() }<span class="symbol">)</span><span class="symbol">: </span><a href="-refresh-delegate-provider/index.html"><span class="identifier">Style.RefreshDelegateProvider</span></a><span class="symbol"><</span><a href="refresh-on-update.html#T"><span class="identifier">T</span></a><span class="symbol">></span></code></td> </tr> -<tr> -<td> -<p><a href="remove-css-class.html">removeCssClass</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeCssClass</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Style$removeCssClass(kotlin.String)/css">css</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="../-component/index.html"><span class="identifier">Component</span></a></code> -<p>Removes given value from the set of CSS classes generated in html code of current component.</p> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeCssClass</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Style$removeCssClass(pl.treksoft.kvision.core.Style)/css">css</span><span class="symbol">:</span> <a href="./index.html"><span class="identifier">Style</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../-component/index.html"><span class="identifier">Component</span></a></code> -<p>Removes given style object from the set of CSS classes generated in html code of current component.</p> -</td> -</tr> -<tr> -<td> -<p><a href="remove-surrounding-css-class.html">removeSurroundingCssClass</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeSurroundingCssClass</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Style$removeSurroundingCssClass(kotlin.String)/css">css</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="../-component/index.html"><span class="identifier">Component</span></a></code> -<p>Removes given value from the set of CSS classes generated in html code of parent component.</p> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeSurroundingCssClass</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Style$removeSurroundingCssClass(pl.treksoft.kvision.core.Style)/css">css</span><span class="symbol">:</span> <a href="./index.html"><span class="identifier">Style</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../-component/index.html"><span class="identifier">Component</span></a></code> -<p>Removes given style object from the set of CSS classes generated in html code of parent component.</p> -</td> -</tr> </tbody> </table> <h3>Inherited Functions</h3> diff --git a/api/pl.treksoft.kvision.core/-style/parent.html b/api/pl.treksoft.kvision.core/-style/parent.html deleted file mode 100644 index 1751ea05..00000000 --- a/api/pl.treksoft.kvision.core/-style/parent.html +++ /dev/null @@ -1,16 +0,0 @@ -<HTML> -<HEAD> -<meta charset="UTF-8"> -<title>Style.parent - 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">Style</a> / <a href="./parent.html">parent</a><br/> -<br/> -<h1>parent</h1> -<a name="pl.treksoft.kvision.core.Style$parent"></a> -<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">parent</span><span class="symbol">: </span><a href="../-container/index.html"><span class="identifier">Container</span></a><span class="symbol">?</span></code> -<p>Overrides <a href="../-component/parent.html">Component.parent</a></p> -<p>Parent of the current component.</p> -</BODY> -</HTML> diff --git a/api/pl.treksoft.kvision.core/-style/remove-css-class.html b/api/pl.treksoft.kvision.core/-style/remove-css-class.html deleted file mode 100644 index a0b1b166..00000000 --- a/api/pl.treksoft.kvision.core/-style/remove-css-class.html +++ /dev/null @@ -1,30 +0,0 @@ -<HTML> -<HEAD> -<meta charset="UTF-8"> -<title>Style.removeCssClass - 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">Style</a> / <a href="./remove-css-class.html">removeCssClass</a><br/> -<br/> -<h1>removeCssClass</h1> -<a name="pl.treksoft.kvision.core.Style$removeCssClass(kotlin.String)"></a> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeCssClass</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Style$removeCssClass(kotlin.String)/css">css</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="../-component/index.html"><span class="identifier">Component</span></a></code> -<p>Overrides <a href="../-component/remove-css-class.html">Component.removeCssClass</a></p> -<p>Removes given value from the set of CSS classes generated in html code of current component.</p> -<h3>Parameters</h3> -<p><a name="css"></a> -<code>css</code> - CSS class name</p> -<p><strong>Return</strong><br/> -current component</p> -<a name="pl.treksoft.kvision.core.Style$removeCssClass(pl.treksoft.kvision.core.Style)"></a> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeCssClass</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Style$removeCssClass(pl.treksoft.kvision.core.Style)/css">css</span><span class="symbol">:</span> <a href="index.html"><span class="identifier">Style</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../-component/index.html"><span class="identifier">Component</span></a></code> -<p>Overrides <a href="../-component/remove-css-class.html">Component.removeCssClass</a></p> -<p>Removes given style object from the set of CSS classes generated in html code of current component.</p> -<h3>Parameters</h3> -<p><a name="css"></a> -<code>css</code> - CSS style object</p> -<p><strong>Return</strong><br/> -current component</p> -</BODY> -</HTML> diff --git a/api/pl.treksoft.kvision.core/-style/remove-surrounding-css-class.html b/api/pl.treksoft.kvision.core/-style/remove-surrounding-css-class.html deleted file mode 100644 index ce0ff0a8..00000000 --- a/api/pl.treksoft.kvision.core/-style/remove-surrounding-css-class.html +++ /dev/null @@ -1,30 +0,0 @@ -<HTML> -<HEAD> -<meta charset="UTF-8"> -<title>Style.removeSurroundingCssClass - 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">Style</a> / <a href="./remove-surrounding-css-class.html">removeSurroundingCssClass</a><br/> -<br/> -<h1>removeSurroundingCssClass</h1> -<a name="pl.treksoft.kvision.core.Style$removeSurroundingCssClass(kotlin.String)"></a> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeSurroundingCssClass</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Style$removeSurroundingCssClass(kotlin.String)/css">css</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="../-component/index.html"><span class="identifier">Component</span></a></code> -<p>Overrides <a href="../-component/remove-surrounding-css-class.html">Component.removeSurroundingCssClass</a></p> -<p>Removes given value from the set of CSS classes generated in html code of parent component.</p> -<h3>Parameters</h3> -<p><a name="css"></a> -<code>css</code> - CSS class name</p> -<p><strong>Return</strong><br/> -current component</p> -<a name="pl.treksoft.kvision.core.Style$removeSurroundingCssClass(pl.treksoft.kvision.core.Style)"></a> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeSurroundingCssClass</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Style$removeSurroundingCssClass(pl.treksoft.kvision.core.Style)/css">css</span><span class="symbol">:</span> <a href="index.html"><span class="identifier">Style</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../-component/index.html"><span class="identifier">Component</span></a></code> -<p>Overrides <a href="../-component/remove-surrounding-css-class.html">Component.removeSurroundingCssClass</a></p> -<p>Removes given style object from the set of CSS classes generated in html code of parent component.</p> -<h3>Parameters</h3> -<p><a name="css"></a> -<code>css</code> - CSS style object</p> -<p><strong>Return</strong><br/> -current component</p> -</BODY> -</HTML> diff --git a/api/pl.treksoft.kvision.core/-style/visible.html b/api/pl.treksoft.kvision.core/-style/visible.html deleted file mode 100644 index cd16d42d..00000000 --- a/api/pl.treksoft.kvision.core/-style/visible.html +++ /dev/null @@ -1,16 +0,0 @@ -<HTML> -<HEAD> -<meta charset="UTF-8"> -<title>Style.visible - 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">Style</a> / <a href="./visible.html">visible</a><br/> -<br/> -<h1>visible</h1> -<a name="pl.treksoft.kvision.core.Style$visible"></a> -<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">visible</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>Overrides <a href="../-component/visible.html">Component.visible</a></p> -<p>Visibility state of the current component.</p> -</BODY> -</HTML> diff --git a/api/pl.treksoft.kvision.core/-styled-component/index.html b/api/pl.treksoft.kvision.core/-styled-component/index.html index 70940517..e7079ebf 100644 --- a/api/pl.treksoft.kvision.core/-styled-component/index.html +++ b/api/pl.treksoft.kvision.core/-styled-component/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">StyledComponent</a><br/> <br/> <h1>StyledComponent</h1> -<code><span class="keyword">abstract</span> <span class="keyword">class </span><span class="identifier">StyledComponent</span> <span class="symbol">:</span> <a href="../-component/index.html"><span class="identifier">Component</span></a></code> +<code><span class="keyword">abstract</span> <span class="keyword">class </span><span class="identifier">StyledComponent</span></code> <p>Base class for components supporting CSS styling.</p> <h3>Constructors</h3> <table> @@ -551,29 +551,6 @@ </tr> </tbody> </table> -<h3>Inherited Properties</h3> -<table> -<tbody> -<tr> -<td> -<p><a href="../-component/parent.html">parent</a></p> -</td> -<td> -<code><span class="keyword">abstract</span> <span class="keyword">var </span><span class="identifier">parent</span><span class="symbol">: </span><a href="../-container/index.html"><span class="identifier">Container</span></a><span class="symbol">?</span></code> -<p>Parent of the current component.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../-component/visible.html">visible</a></p> -</td> -<td> -<code><span class="keyword">abstract</span> <span class="keyword">var </span><span class="identifier">visible</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>Visibility state of the current component.</p> -</td> -</tr> -</tbody> -</table> <h3>Functions</h3> <table> <tbody> @@ -595,82 +572,6 @@ </tr> </tbody> </table> -<h3>Inherited Functions</h3> -<table> -<tbody> -<tr> -<td> -<p><a href="../-component/add-css-class.html">addCssClass</a></p> -</td> -<td> -<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">addCssClass</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Component$addCssClass(kotlin.String)/css">css</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="../-component/index.html"><span class="identifier">Component</span></a></code> -<p>Adds given value to the set of CSS classes generated in html code of current component.</p> -<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">addCssClass</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Component$addCssClass(pl.treksoft.kvision.core.Style)/css">css</span><span class="symbol">:</span> <a href="../-style/index.html"><span class="identifier">Style</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../-component/index.html"><span class="identifier">Component</span></a></code> -<p>Adds given style object to the set of CSS classes generated in html code of current component.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../-component/add-surrounding-css-class.html">addSurroundingCssClass</a></p> -</td> -<td> -<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">addSurroundingCssClass</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Component$addSurroundingCssClass(kotlin.String)/css">css</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="../-component/index.html"><span class="identifier">Component</span></a></code> -<p>Adds given value to the set of CSS classes generated in html code of parent component.</p> -<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">addSurroundingCssClass</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Component$addSurroundingCssClass(pl.treksoft.kvision.core.Style)/css">css</span><span class="symbol">:</span> <a href="../-style/index.html"><span class="identifier">Style</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../-component/index.html"><span class="identifier">Component</span></a></code> -<p>Adds given style object to the set of CSS classes generated in html code of parent component.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../-component/get-element.html">getElement</a></p> -</td> -<td> -<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">getElement</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/org.w3c.dom/-node/index.html"><span class="identifier">Node</span></a><span class="symbol">?</span></code> -<p>Returns DOM element bound to the current component.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../-component/get-element-j-query.html">getElementJQuery</a></p> -</td> -<td> -<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">getElementJQuery</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">JQuery</span><span class="symbol">?</span></code> -<p>Returns JQuery element bound to the current component.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../-component/get-element-j-query-d.html">getElementJQueryD</a></p> -</td> -<td> -<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">getElementJQueryD</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="keyword">dynamic</span></code> -<p>Returns JQuery element bound to the current component as a <em>dynamic</em> type.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../-component/remove-css-class.html">removeCssClass</a></p> -</td> -<td> -<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">removeCssClass</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Component$removeCssClass(kotlin.String)/css">css</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="../-component/index.html"><span class="identifier">Component</span></a></code> -<p>Removes given value from the set of CSS classes generated in html code of current component.</p> -<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">removeCssClass</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Component$removeCssClass(pl.treksoft.kvision.core.Style)/css">css</span><span class="symbol">:</span> <a href="../-style/index.html"><span class="identifier">Style</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../-component/index.html"><span class="identifier">Component</span></a></code> -<p>Removes given style object from the set of CSS classes generated in html code of current component.</p> -</td> -</tr> -<tr> -<td> -<p><a href="../-component/remove-surrounding-css-class.html">removeSurroundingCssClass</a></p> -</td> -<td> -<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">removeSurroundingCssClass</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Component$removeSurroundingCssClass(kotlin.String)/css">css</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="../-component/index.html"><span class="identifier">Component</span></a></code> -<p>Removes given value from the set of CSS classes generated in html code of parent component.</p> -<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">removeSurroundingCssClass</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Component$removeSurroundingCssClass(pl.treksoft.kvision.core.Style)/css">css</span><span class="symbol">:</span> <a href="../-style/index.html"><span class="identifier">Style</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../-component/index.html"><span class="identifier">Component</span></a></code> -<p>Removes given style object from the set of CSS classes generated in html code of parent component.</p> -</td> -</tr> -</tbody> -</table> <h3>Extension Functions</h3> <table> <tbody> @@ -702,7 +603,7 @@ <p><a href="../-widget/index.html">Widget</a></p> </td> <td> -<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Widget</span> <span class="symbol">:</span> <a href="./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="./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> </td> </tr> 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> diff --git a/api/pl.treksoft.kvision.core/index.html b/api/pl.treksoft.kvision.core/index.html index 905a8487..a68b9d5e 100644 --- a/api/pl.treksoft.kvision.core/index.html +++ b/api/pl.treksoft.kvision.core/index.html @@ -261,7 +261,7 @@ backgrounds, fonts, text and position) and the main Widget class.</p> <p><a href="-styled-component/index.html">StyledComponent</a></p> </td> <td> -<code><span class="keyword">abstract</span> <span class="keyword">class </span><span class="identifier">StyledComponent</span> <span class="symbol">:</span> <a href="-component/index.html"><span class="identifier">Component</span></a></code> +<code><span class="keyword">abstract</span> <span class="keyword">class </span><span class="identifier">StyledComponent</span></code> <p>Base class for components supporting CSS styling.</p> </td> </tr> @@ -387,7 +387,7 @@ backgrounds, fonts, text and position) and the main Widget class.</p> <p><a href="-widget/index.html">Widget</a></p> </td> <td> -<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> </td> </tr> |