kvision / pl.treksoft.kvision.form / BoolFormControl

BoolFormControl

(js) interface BoolFormControl : FormControl

Base interface of a form control with a boolean value.

Properties

(js)

value

Boolean value.

abstract var value: Boolean

Functions

(js)

getValue

Returns the value of the control.

open fun getValue(): Boolean
(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)

CheckBox

The form field component rendered as HTML input type="checkbox".

open class CheckBox : SimplePanel, BoolFormControl, ObservableState<Boolean>
(js)

OnsCheckBox

Onsen UI form field checkbox component.

open class OnsCheckBox : SimplePanel, BoolFormControl, ObservableState<Boolean>
(js)

OnsRadio

Onsen UI form field radio button component.

open class OnsRadio : SimplePanel, BoolFormControl, ObservableState<Boolean>
(js)

OnsSwitch

Onsen UI form field switch component.

open class OnsSwitch : SimplePanel, BoolFormControl, ObservableState<Boolean>
(js)

Radio

The form field component rendered as HTML input type="radio".

open class Radio : SimplePanel, BoolFormControl, ObservableState<Boolean>