open class CheckBoxInput : CheckInput
The basic input component rendered as HTML input type="checkbox".
CheckBoxInput(value: Boolean = false, classes: Set<String> = setOf()) |
open var disabled: Boolean
Determines if the field is disabled. |
|
var extraValue: String?
The additional String value used for the radio button group. |
|
open var name: String?
The name attribute of the generated HTML input element. |
|
open var size: InputSize?
The size of the input. |
|
var startValue: Boolean
The value attribute of the generated HTML input element. |
|
var type: CheckInputType
The type of the generated HTML input element. |
|
open var validationStatus: ValidationStatus?
The validation status of the input. |
|
var value: Boolean
The selection state of the input. |
open fun afterInsert(node: VNode): Unit
Method called after inserting Snabbdom vnode into the DOM. |
|
open fun blur(): Unit
Makes the input element blur. |
|
open fun focus(): Unit
Makes the input element focused. |
|
open fun getSnAttrs(): List<StringPair>
Returns list of element attributes in the form of a List. |
|
open fun getSnClass(): List<StringBoolPair>
Returns list of CSS class names for current widget in the form of a List. |
|
open fun onClick(handler: CheckInput.(MouseEvent) -> Unit): CheckInput
A convenient helper for easy setting onClick event handler. |
|
open fun render(): VNode
Renders current component as a Snabbdom vnode. |
val <T : Widget> T.changeFlow: <ERROR CLASS><T> |
|
val <T : Widget> T.clickFlow: <ERROR CLASS><T> |
|
val <T : Widget> T.inputFlow: <ERROR CLASS><T> |
fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit |
|
fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit |
|
fun Component.addBsClearfix(): Unit |
|
fun Component.addBsColor(bsColor: BsColor): Unit |
|
fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit |
|
fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu
DSL builder extension function. |
|
fun <T> Any?.createInstance(vararg args: dynamic): T
Helper function for creating JavaScript objects from dynamic constructors. |
|
fun <T : Widget> T.eventFlow(event: String): <ERROR CLASS><Pair<T, Event>> |
|
fun <T : Widget> T.onEvent(block: SnOn<T>.() -> Unit): Int |
|
fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit |
|
fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit |
|
fun Component.removeBsClearfix(): Unit |
|
fun Component.removeBsColor(bsColor: BsColor): Unit |
|
fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit |
|
fun Widget.setContextMenu(contextMenu: ContextMenu): Widget
Sets context menu for the current widget. |
|
fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style
DSL builder extension function. |