<HTML> <HEAD> <meta charset="UTF-8"> <title>SpinnerInput - kvision</title> <link rel="stylesheet" href="../../../style.css"> </HEAD> <BODY> <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.form.spinner</a> / <a href="./index.html">SpinnerInput</a><br/> <br/> <h1>SpinnerInput</h1> <code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">SpinnerInput</span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> <p>The basic component for spinner control.</p> <h3>Constructors</h3> <table> <tbody> <tr> <td> <p><a href="-init-.html"><init></a></p> </td> <td> <code><span class="identifier">SpinnerInput</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.spinner.SpinnerInput$<init>(kotlin.Number, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.BUTTONSTYPE, pl.treksoft.kvision.form.spinner.FORCETYPE, kotlin.collections.Set((kotlin.String)))/value">value</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.spinner.SpinnerInput$<init>(kotlin.Number, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.BUTTONSTYPE, pl.treksoft.kvision.form.spinner.FORCETYPE, kotlin.collections.Set((kotlin.String)))/min">min</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a> <span class="symbol">=</span> 0<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.spinner.SpinnerInput$<init>(kotlin.Number, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.BUTTONSTYPE, pl.treksoft.kvision.form.spinner.FORCETYPE, kotlin.collections.Set((kotlin.String)))/max">max</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a> <span class="symbol">=</span> DEFAULT_MAX<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.spinner.SpinnerInput$<init>(kotlin.Number, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.BUTTONSTYPE, pl.treksoft.kvision.form.spinner.FORCETYPE, kotlin.collections.Set((kotlin.String)))/step">step</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html"><span class="identifier">Double</span></a> <span class="symbol">=</span> DEFAULT_STEP<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.spinner.SpinnerInput$<init>(kotlin.Number, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.BUTTONSTYPE, pl.treksoft.kvision.form.spinner.FORCETYPE, kotlin.collections.Set((kotlin.String)))/decimals">decimals</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a> <span class="symbol">=</span> 0<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.spinner.SpinnerInput$<init>(kotlin.Number, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.BUTTONSTYPE, pl.treksoft.kvision.form.spinner.FORCETYPE, kotlin.collections.Set((kotlin.String)))/buttonsType">buttonsType</span><span class="symbol">:</span> <a href="../-b-u-t-t-o-n-s-t-y-p-e/index.html"><span class="identifier">BUTTONSTYPE</span></a> <span class="symbol">=</span> BUTTONSTYPE.VERTICAL<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.spinner.SpinnerInput$<init>(kotlin.Number, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.BUTTONSTYPE, pl.treksoft.kvision.form.spinner.FORCETYPE, kotlin.collections.Set((kotlin.String)))/forceType">forceType</span><span class="symbol">:</span> <a href="../-f-o-r-c-e-t-y-p-e/index.html"><span class="identifier">FORCETYPE</span></a> <span class="symbol">=</span> FORCETYPE.NONE<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.spinner.SpinnerInput$<init>(kotlin.Number, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.BUTTONSTYPE, pl.treksoft.kvision.form.spinner.FORCETYPE, 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></td> </tr> </tbody> </table> <h3>Properties</h3> <table> <tbody> <tr> <td> <p><a href="autofocus.html">autofocus</a></p> </td> <td> <code><span class="keyword">var </span><span class="identifier">autofocus</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">?</span></code> <p>Determines if the spinner is automatically focused.</p> </td> </tr> <tr> <td> <p><a href="buttons-type.html">buttonsType</a></p> </td> <td> <code><span class="keyword">var </span><span class="identifier">buttonsType</span><span class="symbol">: </span><a href="../-b-u-t-t-o-n-s-t-y-p-e/index.html"><span class="identifier">BUTTONSTYPE</span></a></code> <p>Spinner buttons type.</p> </td> </tr> <tr> <td> <p><a href="decimals.html">decimals</a></p> </td> <td> <code><span class="keyword">var </span><span class="identifier">decimals</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a></code> <p>Number of decimal digits value.</p> </td> </tr> <tr> <td> <p><a href="disabled.html">disabled</a></p> </td> <td> <code><span class="keyword">var </span><span class="identifier">disabled</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 field is disabled.</p> </td> </tr> <tr> <td> <p><a href="force-type.html">forceType</a></p> </td> <td> <code><span class="keyword">var </span><span class="identifier">forceType</span><span class="symbol">: </span><a href="../-f-o-r-c-e-t-y-p-e/index.html"><span class="identifier">FORCETYPE</span></a></code> <p>Spinner force rounding type.</p> </td> </tr> <tr> <td> <p><a href="max.html">max</a></p> </td> <td> <code><span class="keyword">var </span><span class="identifier">max</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a></code> <p>Maximal value.</p> </td> </tr> <tr> <td> <p><a href="min.html">min</a></p> </td> <td> <code><span class="keyword">var </span><span class="identifier">min</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a></code> <p>Minimal value.</p> </td> </tr> <tr> <td> <p><a href="name.html">name</a></p> </td> <td> <code><span class="keyword">var </span><span class="identifier">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></code> <p>The name attribute of the generated HTML input element.</p> </td> </tr> <tr> <td> <p><a href="placeholder.html">placeholder</a></p> </td> <td> <code><span class="keyword">var </span><span class="identifier">placeholder</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>The placeholder for the spinner input.</p> </td> </tr> <tr> <td> <p><a href="readonly.html">readonly</a></p> </td> <td> <code><span class="keyword">var </span><span class="identifier">readonly</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">?</span></code> <p>Determines if the spinner is read-only.</p> </td> </tr> <tr> <td> <p><a href="size.html">size</a></p> </td> <td> <code><span class="keyword">var </span><span class="identifier">size</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.form/-i-n-p-u-t-s-i-z-e/index.html"><span class="identifier">INPUTSIZE</span></a><span class="symbol">?</span></code> <p>The size of the input.</p> </td> </tr> <tr> <td> <p><a href="start-value.html">startValue</a></p> </td> <td> <code><span class="keyword">var </span><span class="identifier">startValue</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a><span class="symbol">?</span></code> <p>The value attribute of the generated HTML input element.</p> </td> </tr> <tr> <td> <p><a href="step.html">step</a></p> </td> <td> <code><span class="keyword">var </span><span class="identifier">step</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html"><span class="identifier">Double</span></a></code> <p>Step value.</p> </td> </tr> <tr> <td> <p><a href="value.html">value</a></p> </td> <td> <code><span class="keyword">var </span><span class="identifier">value</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a><span class="symbol">?</span></code> <p>Spinner value.</p> </td> </tr> </tbody> </table> <h3>Inherited Properties</h3> <table> <tbody> <tr> <td> <p><a href="../../pl.treksoft.kvision.core/-widget/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="../../pl.treksoft.kvision.core/-widget/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="../../pl.treksoft.kvision.core/-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="../../pl.treksoft.kvision.core/-widget/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="../../pl.treksoft.kvision.core/-widget/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="../../pl.treksoft.kvision.core/-widget/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>Functions</h3> <table> <tbody> <tr> <td> <p><a href="after-destroy.html">afterDestroy</a></p> </td> <td> <code><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> </td> </tr> <tr> <td> <p><a href="after-insert.html">afterInsert</a></p> </td> <td> <code><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.form.spinner.SpinnerInput$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> </td> </tr> <tr> <td> <p><a href="change-value.html">changeValue</a></p> </td> <td> <code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">changeValue</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></td> </tr> <tr> <td> <p><a href="get-sn-attrs.html">getSnAttrs</a></p> </td> <td> <code><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="../../pl.treksoft.kvision.core/-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> </td> </tr> <tr> <td> <p><a href="get-sn-class.html">getSnClass</a></p> </td> <td> <code><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="../../pl.treksoft.kvision.core/-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> </td> </tr> <tr> <td> <p><a href="get-value-as-string.html">getValueAsString</a></p> </td> <td> <code><span class="keyword">fun </span><span class="identifier">getValueAsString</span><span class="symbol">(</span><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 the spinner as a String.</p> </td> </tr> <tr> <td> <p><a href="render.html">render</a></p> </td> <td> <code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">render</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">VNode</span></code> <p>Renders current component as a Snabbdom vnode.</p> </td> </tr> <tr> <td> <p><a href="spin-down.html">spinDown</a></p> </td> <td> <code><span class="keyword">fun </span><span class="identifier">spinDown</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="./index.html"><span class="identifier">SpinnerInput</span></a></code> <p>Change value in minus.</p> </td> </tr> <tr> <td> <p><a href="spin-up.html">spinUp</a></p> </td> <td> <code><span class="keyword">fun </span><span class="identifier">spinUp</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="./index.html"><span class="identifier">SpinnerInput</span></a></code> <p>Change value in plus.</p> </td> </tr> </tbody> </table> <h3>Inherited Functions</h3> <table> <tbody> <tr> <td> <p><a href="../../pl.treksoft.kvision.core/-widget/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.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="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> <p>Adds given value to the set of CSS classes generated in html code of current component.</p> </td> </tr> <tr> <td> <p><a href="../../pl.treksoft.kvision.core/-widget/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.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="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> <p>Adds given value to the set of CSS classes generated in html code of parent component.</p> </td> </tr> <tr> <td> <p><a href="../../pl.treksoft.kvision.core/-widget/after-create.html">afterCreate</a></p> </td> <td> <code><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> </td> </tr> <tr> <td> <p><a href="../../pl.treksoft.kvision.core/-widget/after-postpatch.html">afterPostpatch</a></p> </td> <td> <code><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> </td> </tr> <tr> <td> <p><a href="../../pl.treksoft.kvision.core/-widget/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="../../pl.treksoft.kvision.core/-widget/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="../../pl.treksoft.kvision.core/-widget/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="../../pl.treksoft.kvision.core/-widget/get-sn-hooks.html">getSnHooks</a></p> </td> <td> <code><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> </td> </tr> <tr> <td> <p><a href="../../pl.treksoft.kvision.core/-widget/get-sn-on.html">getSnOn</a></p> </td> <td> <code><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> </td> </tr> <tr> <td> <p><a href="../../pl.treksoft.kvision.core/-widget/hide.html">hide</a></p> </td> <td> <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="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> <p>Makes current widget invisible.</p> </td> </tr> <tr> <td> <p><a href="../../pl.treksoft.kvision.core/-widget/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.Widget$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="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> <p>Removes given value from the set of CSS classes generated in html code of current component.</p> </td> </tr> <tr> <td> <p><a href="../../pl.treksoft.kvision.core/-widget/remove-event-listeners.html">removeEventListeners</a></p> </td> <td> <code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeEventListeners</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> <p>Removes all event listeners from current widget.</p> </td> </tr> <tr> <td> <p><a href="../../pl.treksoft.kvision.core/-widget/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.Widget$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="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> <p>Removes given value from the set of CSS classes generated in html code of parent component.</p> </td> </tr> <tr> <td> <p><a href="../../pl.treksoft.kvision.core/-widget/render.html">render</a></p> </td> <td> <code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">render</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$render(kotlin.String)/elementName">elementName</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><span class="identifier">VNode</span></code><br/> <code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">render</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$render(kotlin.String, kotlin.Array((kotlin.Any)))/elementName">elementName</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$render(kotlin.String, kotlin.Array((kotlin.Any)))/children">children</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html"><span class="identifier">Array</span></a><span class="symbol"><</span><span class="keyword">dynamic</span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">VNode</span></code> <p>Renders current component as a Snabbdom vnode.</p> </td> </tr> <tr> <td> <p><a href="../../pl.treksoft.kvision.core/-widget/set-event-listener.html">setEventListener</a></p> </td> <td> <code><span class="keyword">open</span> <span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">></span> <span class="identifier">setEventListener</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$setEventListener(kotlin.Function1((pl.treksoft.kvision.utils.SnOn((pl.treksoft.kvision.core.Widget.setEventListener.T)), kotlin.Unit)))/block">block</span><span class="symbol">:</span> <span class="identifier">SnOn</span><span class="symbol"><</span><a href="../../pl.treksoft.kvision.core/-widget/set-event-listener.html#T"><span class="identifier">T</span></a><span class="symbol">></span><span class="symbol">.</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><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> <p>Sets an event listener for current widget, keeping the actual type of component.</p> <code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">setEventListener</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$setEventListener(kotlin.Function1((pl.treksoft.kvision.utils.SnOn((pl.treksoft.kvision.core.Widget)), kotlin.Unit)))/block">block</span><span class="symbol">:</span> <span class="identifier">SnOn</span><span class="symbol"><</span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">></span><span class="symbol">.</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><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> <p>Sets an event listener for current widget.</p> </td> </tr> <tr> <td> <p><a href="../../pl.treksoft.kvision.core/-widget/show.html">show</a></p> </td> <td> <code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">show</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> <p>Makes current widget visible.</p> </td> </tr> <tr> <td> <p><a href="../../pl.treksoft.kvision.core/-widget/toggle-visible.html">toggleVisible</a></p> </td> <td> <code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">toggleVisible</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> <p>Toggles visibility of current widget.</p> </td> </tr> </tbody> </table> <h3>Companion Object Functions</h3> <table> <tbody> <tr> <td> <p><a href="spinner-input.html">spinnerInput</a></p> </td> <td> <code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">spinnerInput</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.spinner.SpinnerInput.Companion$spinnerInput(pl.treksoft.kvision.core.Container, kotlin.Number, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.BUTTONSTYPE, pl.treksoft.kvision.form.spinner.FORCETYPE, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.spinner.SpinnerInput, kotlin.Unit)))/value">value</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.spinner.SpinnerInput.Companion$spinnerInput(pl.treksoft.kvision.core.Container, kotlin.Number, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.BUTTONSTYPE, pl.treksoft.kvision.form.spinner.FORCETYPE, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.spinner.SpinnerInput, kotlin.Unit)))/min">min</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a> <span class="symbol">=</span> 0<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.spinner.SpinnerInput.Companion$spinnerInput(pl.treksoft.kvision.core.Container, kotlin.Number, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.BUTTONSTYPE, pl.treksoft.kvision.form.spinner.FORCETYPE, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.spinner.SpinnerInput, kotlin.Unit)))/max">max</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a> <span class="symbol">=</span> DEFAULT_MAX<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.spinner.SpinnerInput.Companion$spinnerInput(pl.treksoft.kvision.core.Container, kotlin.Number, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.BUTTONSTYPE, pl.treksoft.kvision.form.spinner.FORCETYPE, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.spinner.SpinnerInput, kotlin.Unit)))/step">step</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html"><span class="identifier">Double</span></a> <span class="symbol">=</span> DEFAULT_STEP<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.spinner.SpinnerInput.Companion$spinnerInput(pl.treksoft.kvision.core.Container, kotlin.Number, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.BUTTONSTYPE, pl.treksoft.kvision.form.spinner.FORCETYPE, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.spinner.SpinnerInput, kotlin.Unit)))/decimals">decimals</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a> <span class="symbol">=</span> 0<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.spinner.SpinnerInput.Companion$spinnerInput(pl.treksoft.kvision.core.Container, kotlin.Number, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.BUTTONSTYPE, pl.treksoft.kvision.form.spinner.FORCETYPE, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.spinner.SpinnerInput, kotlin.Unit)))/buttonsType">buttonsType</span><span class="symbol">:</span> <a href="../-b-u-t-t-o-n-s-t-y-p-e/index.html"><span class="identifier">BUTTONSTYPE</span></a> <span class="symbol">=</span> BUTTONSTYPE.VERTICAL<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.spinner.SpinnerInput.Companion$spinnerInput(pl.treksoft.kvision.core.Container, kotlin.Number, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.BUTTONSTYPE, pl.treksoft.kvision.form.spinner.FORCETYPE, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.spinner.SpinnerInput, kotlin.Unit)))/forceType">forceType</span><span class="symbol">:</span> <a href="../-f-o-r-c-e-t-y-p-e/index.html"><span class="identifier">FORCETYPE</span></a> <span class="symbol">=</span> FORCETYPE.NONE<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.spinner.SpinnerInput.Companion$spinnerInput(pl.treksoft.kvision.core.Container, kotlin.Number, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.BUTTONSTYPE, pl.treksoft.kvision.form.spinner.FORCETYPE, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.spinner.SpinnerInput, kotlin.Unit)))/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><span class="identifier" id="pl.treksoft.kvision.form.spinner.SpinnerInput.Companion$spinnerInput(pl.treksoft.kvision.core.Container, kotlin.Number, kotlin.Int, kotlin.Int, kotlin.Double, kotlin.Int, pl.treksoft.kvision.form.spinner.BUTTONSTYPE, pl.treksoft.kvision.form.spinner.FORCETYPE, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.spinner.SpinnerInput, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <a href="./index.html"><span class="identifier">SpinnerInput</span></a><span class="symbol">.</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> <span class="symbol">=</span> null<span class="symbol">)</span><span class="symbol">: </span><a href="./index.html"><span class="identifier">SpinnerInput</span></a></code> <p>DSL builder extension function.</p> </td> </tr> </tbody> </table> </BODY> </HTML>