diff options
Diffstat (limited to 'docs/api/pl.treksoft.kvision.core/-widget')
28 files changed, 1155 insertions, 0 deletions
diff --git a/docs/api/pl.treksoft.kvision.core/-widget/-init-.html b/docs/api/pl.treksoft.kvision.core/-widget/-init-.html new file mode 100644 index 00000000..3d40fa05 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.core/-widget/-init-.html @@ -0,0 +1,20 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Widget.<init> - 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="./-init-.html"><init></a><br/> +<br/> +<h1><init></h1> +<a name="pl.treksoft.kvision.core.Widget$<init>(kotlin.collections.Set((kotlin.String)))"></a> +<code><span class="identifier">Widget</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$<init>(kotlin.collections.Set((kotlin.String)))/classes">classes</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html"><span class="identifier">Set</span></a><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> setOf()<span class="symbol">)</span></code> +<p>Creates basic Widget with given CSS class names.</p> +<h3>Parameters</h3> +<p><a name="classes"></a> +<code>classes</code> - Set of CSS class names</p> +<p><strong>Constructor</strong><br/> +Creates basic Widget with given CSS class names.</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.core/-widget/add-css-class.html b/docs/api/pl.treksoft.kvision.core/-widget/add-css-class.html new file mode 100644 index 00000000..6f78cf17 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.core/-widget/add-css-class.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Widget.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">Widget</a> / <a href="./add-css-class.html">addCssClass</a><br/> +<br/> +<h1>addCssClass</h1> +<a name="pl.treksoft.kvision.core.Widget$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.Widget$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="index.html"><span class="identifier">Widget</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> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.core/-widget/add-surrounding-css-class.html b/docs/api/pl.treksoft.kvision.core/-widget/add-surrounding-css-class.html new file mode 100644 index 00000000..ddcf07ae --- /dev/null +++ b/docs/api/pl.treksoft.kvision.core/-widget/add-surrounding-css-class.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Widget.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">Widget</a> / <a href="./add-surrounding-css-class.html">addSurroundingCssClass</a><br/> +<br/> +<h1>addSurroundingCssClass</h1> +<a name="pl.treksoft.kvision.core.Widget$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.Widget$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="index.html"><span class="identifier">Widget</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> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.core/-widget/after-create.html b/docs/api/pl.treksoft.kvision.core/-widget/after-create.html new file mode 100644 index 00000000..eddad85d --- /dev/null +++ b/docs/api/pl.treksoft.kvision.core/-widget/after-create.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Widget.afterCreate - 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="./after-create.html">afterCreate</a><br/> +<br/> +<h1>afterCreate</h1> +<a name="pl.treksoft.kvision.core.Widget$afterCreate(com.github.snabbdom.VNode)"></a> +<code><span class="keyword">protected</span> <span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">afterCreate</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$afterCreate(com.github.snabbdom.VNode)/node">node</span><span class="symbol">:</span> <span class="identifier">VNode</span><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></code> +<p>Method called after creating Snabbdom vnode.</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.core/-widget/after-destroy.html b/docs/api/pl.treksoft.kvision.core/-widget/after-destroy.html new file mode 100644 index 00000000..cfdc5f09 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.core/-widget/after-destroy.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Widget.afterDestroy - 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="./after-destroy.html">afterDestroy</a><br/> +<br/> +<h1>afterDestroy</h1> +<a name="pl.treksoft.kvision.core.Widget$afterDestroy()"></a> +<code><span class="keyword">protected</span> <span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">afterDestroy</span><span class="symbol">(</span><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></code> +<p>Method called after destroying Snabbdom vnode.</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.core/-widget/after-insert.html b/docs/api/pl.treksoft.kvision.core/-widget/after-insert.html new file mode 100644 index 00000000..04ed6c72 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.core/-widget/after-insert.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Widget.afterInsert - 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="./after-insert.html">afterInsert</a><br/> +<br/> +<h1>afterInsert</h1> +<a name="pl.treksoft.kvision.core.Widget$afterInsert(com.github.snabbdom.VNode)"></a> +<code><span class="keyword">protected</span> <span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">afterInsert</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$afterInsert(com.github.snabbdom.VNode)/node">node</span><span class="symbol">:</span> <span class="identifier">VNode</span><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></code> +<p>Method called after inserting Snabbdom vnode into the DOM.</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.core/-widget/after-postpatch.html b/docs/api/pl.treksoft.kvision.core/-widget/after-postpatch.html new file mode 100644 index 00000000..48e0fe23 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.core/-widget/after-postpatch.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Widget.afterPostpatch - 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="./after-postpatch.html">afterPostpatch</a><br/> +<br/> +<h1>afterPostpatch</h1> +<a name="pl.treksoft.kvision.core.Widget$afterPostpatch(com.github.snabbdom.VNode)"></a> +<code><span class="keyword">protected</span> <span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">afterPostpatch</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$afterPostpatch(com.github.snabbdom.VNode)/node">node</span><span class="symbol">:</span> <span class="identifier">VNode</span><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></code> +<p>Method called after updating Snabbdom vnode.</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.core/-widget/get-element-j-query-d.html b/docs/api/pl.treksoft.kvision.core/-widget/get-element-j-query-d.html new file mode 100644 index 00000000..18f83cee --- /dev/null +++ b/docs/api/pl.treksoft.kvision.core/-widget/get-element-j-query-d.html @@ -0,0 +1,18 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Widget.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">Widget</a> / <a href="./get-element-j-query-d.html">getElementJQueryD</a><br/> +<br/> +<h1>getElementJQueryD</h1> +<a name="pl.treksoft.kvision.core.Widget$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/docs/api/pl.treksoft.kvision.core/-widget/get-element-j-query.html b/docs/api/pl.treksoft.kvision.core/-widget/get-element-j-query.html new file mode 100644 index 00000000..ea593270 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.core/-widget/get-element-j-query.html @@ -0,0 +1,18 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Widget.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">Widget</a> / <a href="./get-element-j-query.html">getElementJQuery</a><br/> +<br/> +<h1>getElementJQuery</h1> +<a name="pl.treksoft.kvision.core.Widget$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/docs/api/pl.treksoft.kvision.core/-widget/get-element.html b/docs/api/pl.treksoft.kvision.core/-widget/get-element.html new file mode 100644 index 00000000..440bd249 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.core/-widget/get-element.html @@ -0,0 +1,18 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Widget.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">Widget</a> / <a href="./get-element.html">getElement</a><br/> +<br/> +<h1>getElement</h1> +<a name="pl.treksoft.kvision.core.Widget$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/docs/api/pl.treksoft.kvision.core/-widget/get-sn-attrs.html b/docs/api/pl.treksoft.kvision.core/-widget/get-sn-attrs.html new file mode 100644 index 00000000..d884aedf --- /dev/null +++ b/docs/api/pl.treksoft.kvision.core/-widget/get-sn-attrs.html @@ -0,0 +1,17 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Widget.getSnAttrs - 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-sn-attrs.html">getSnAttrs</a><br/> +<br/> +<h1>getSnAttrs</h1> +<a name="pl.treksoft.kvision.core.Widget$getSnAttrs()"></a> +<code><span class="keyword">protected</span> <span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getSnAttrs</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="../-string-pair.html"><span class="identifier">StringPair</span></a><span class="symbol">></span></code> +<p>Returns list of element attributes in the form of a List.</p> +<p><strong>Return</strong><br/> +list of element attributes</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.core/-widget/get-sn-class.html b/docs/api/pl.treksoft.kvision.core/-widget/get-sn-class.html new file mode 100644 index 00000000..9e93c61e --- /dev/null +++ b/docs/api/pl.treksoft.kvision.core/-widget/get-sn-class.html @@ -0,0 +1,17 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Widget.getSnClass - 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-sn-class.html">getSnClass</a><br/> +<br/> +<h1>getSnClass</h1> +<a name="pl.treksoft.kvision.core.Widget$getSnClass()"></a> +<code><span class="keyword">protected</span> <span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getSnClass</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="../-string-bool-pair.html"><span class="identifier">StringBoolPair</span></a><span class="symbol">></span></code> +<p>Returns list of CSS class names for current widget in the form of a List.</p> +<p><strong>Return</strong><br/> +list of CSS class names</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.core/-widget/get-sn-hooks.html b/docs/api/pl.treksoft.kvision.core/-widget/get-sn-hooks.html new file mode 100644 index 00000000..0d34c2f7 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.core/-widget/get-sn-hooks.html @@ -0,0 +1,17 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Widget.getSnHooks - 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-sn-hooks.html">getSnHooks</a><br/> +<br/> +<h1>getSnHooks</h1> +<a name="pl.treksoft.kvision.core.Widget$getSnHooks()"></a> +<code><span class="keyword">protected</span> <span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getSnHooks</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Hooks</span><span class="symbol">?</span></code> +<p>Returns list of hooks in the form of a Snabbdom <em>Hooks</em> object.</p> +<p><strong>Return</strong><br/> +list of hooks</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.core/-widget/get-sn-on.html b/docs/api/pl.treksoft.kvision.core/-widget/get-sn-on.html new file mode 100644 index 00000000..1bdb14a3 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.core/-widget/get-sn-on.html @@ -0,0 +1,17 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Widget.getSnOn - 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-sn-on.html">getSnOn</a><br/> +<br/> +<h1>getSnOn</h1> +<a name="pl.treksoft.kvision.core.Widget$getSnOn()"></a> +<code><span class="keyword">protected</span> <span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getSnOn</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">On</span><span class="symbol">?</span></code> +<p>Returns list of event handlers in the form of a Snabbdom <em>On</em> object.</p> +<p><strong>Return</strong><br/> +list of event handlers</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.core/-widget/hide.html b/docs/api/pl.treksoft.kvision.core/-widget/hide.html new file mode 100644 index 00000000..ac375539 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.core/-widget/hide.html @@ -0,0 +1,17 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Widget.hide - 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="./hide.html">hide</a><br/> +<br/> +<h1>hide</h1> +<a name="pl.treksoft.kvision.core.Widget$hide()"></a> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">hide</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">Widget</span></a></code> +<p>Makes current widget invisible.</p> +<p><strong>Return</strong><br/> +current widget</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.core/-widget/id.html b/docs/api/pl.treksoft.kvision.core/-widget/id.html new file mode 100644 index 00000000..b2df32cd --- /dev/null +++ b/docs/api/pl.treksoft.kvision.core/-widget/id.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Widget.id - 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="./id.html">id</a><br/> +<br/> +<h1>id</h1> +<a name="pl.treksoft.kvision.core.Widget$id"></a> +<code><span class="keyword">var </span><span class="identifier">id</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>An ID attribute of generated HTML element.</p> +</BODY> +</HTML> diff --git a/docs/api/pl.treksoft.kvision.core/-widget/index.html b/docs/api/pl.treksoft.kvision.core/-widget/index.html new file mode 100644 index 00000000..7fc8cf3d --- /dev/null +++ b/docs/api/pl.treksoft.kvision.core/-widget/index.html @@ -0,0 +1,634 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Widget - 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><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> +<p>Base widget class. The parent of all component classes.</p> +<p>A simple widget is rendered as HTML DIV element.</p> +<h3>Constructors</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-init-.html"><init></a></p> +</td> +<td> +<code><span class="identifier">Widget</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$<init>(kotlin.collections.Set((kotlin.String)))/classes">classes</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html"><span class="identifier">Set</span></a><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> setOf()<span class="symbol">)</span></code> +<p>Creates basic Widget with given CSS class names.</p> +</td> +</tr> +</tbody> +</table> +<h3>Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="id.html">id</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">id</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>An ID attribute of generated HTML element.</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="../-component/index.html"><span class="identifier">Component</span></a><span class="symbol">?</span></code> +<p>Parent of the current component.</p> +</td> +</tr> +<tr> +<td> +<p><a href="role.html">role</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">role</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>A role attribute of generated HTML element.</p> +</td> +</tr> +<tr> +<td> +<p><a href="title.html">title</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">title</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>A title attribute of generated HTML element.</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> +<table> +<tbody> +<tr> +<td> +<p><a href="../-styled-component/background.html">background</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">background</span><span class="symbol">: </span><a href="../-background/index.html"><span class="identifier">Background</span></a><span class="symbol">?</span></code> +<p>Background of the current component.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-styled-component/border.html">border</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">border</span><span class="symbol">: </span><a href="../-border/index.html"><span class="identifier">Border</span></a><span class="symbol">?</span></code> +<p>Border of the current component.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-styled-component/border-bottom.html">borderBottom</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">borderBottom</span><span class="symbol">: </span><a href="../-border/index.html"><span class="identifier">Border</span></a><span class="symbol">?</span></code> +<p>Bottom border of the current component.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-styled-component/border-left.html">borderLeft</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">borderLeft</span><span class="symbol">: </span><a href="../-border/index.html"><span class="identifier">Border</span></a><span class="symbol">?&l |
