kvision / pl.treksoft.kvision.form / NumberFormControl

NumberFormControl

(js) interface NumberFormControl : FormControl

Base interface of a form control with a numeric value.

Properties

(js)

value

Numeric value.

abstract var value: Number?

Functions

(js)

getValue

Returns the value of the control.

open fun getValue(): Number?
(js)

getValueAsString

Returns the value of the control as a String.

open fun getValueAsString(): String?
(js)

setValue

Sets the value of the control.

open fun setValue(v: Any?): Unit

Extension Functions

(js)

addBsBgColor

fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
(js)

addBsBorder

fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
(js)

addBsClearfix

fun Component.addBsClearfix(): Unit
(js)

addBsColor

fun Component.addBsColor(bsColor: BsColor): Unit
(js)

addBsRounded

fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
(js)

removeBsBgColor

fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
(js)

removeBsBorder

fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
(js)

removeBsClearfix

fun Component.removeBsClearfix(): Unit
(js)

removeBsColor

fun Component.removeBsColor(bsColor: BsColor): Unit
(js)

removeBsRounded

fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit

Inheritors

(js)

OnsNumber

Onsen UI form field number component.

open class OnsNumber : SimplePanel, NumberFormControl, ObservableState<Number?>
(js)

OnsRange

Onsen UI form field range component.

open class OnsRange : SimplePanel, NumberFormControl, ObservableState<Number?>
(js)

Range

The form field component for range input control.

open class Range : SimplePanel, NumberFormControl, ObservableState<Number?>
(js)

Spinner

The form field component for spinner control.

open class Spinner : SimplePanel, NumberFormControl, ObservableState<Number?>