From f23e74c2eb0cae2f6ce674881e86ab5d5659ad77 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Tue, 29 Jan 2019 23:41:38 +0100 Subject: API documentation for KVision 0.0.23 --- .../-radio-input/index.html | 185 +++++++++++++++++++++ 1 file changed, 185 insertions(+) create mode 100644 api/pl.treksoft.kvision.form.check/-radio-input/index.html (limited to 'api/pl.treksoft.kvision.form.check/-radio-input/index.html') diff --git a/api/pl.treksoft.kvision.form.check/-radio-input/index.html b/api/pl.treksoft.kvision.form.check/-radio-input/index.html new file mode 100644 index 00000000..b506399a --- /dev/null +++ b/api/pl.treksoft.kvision.form.check/-radio-input/index.html @@ -0,0 +1,185 @@ + + + +RadioInput - kvision + + + +kvision / pl.treksoft.kvision.form.check / RadioInput
+
+

RadioInput

+open class RadioInput : CheckInput +

The basic input component rendered as HTML input type="radio".

+

Constructors

+ + + + + + + +
+

<init>

+
+RadioInput(value: Boolean = false, classes: Set<String> = setOf())
+

Inherited Properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

disabled

+
+open var disabled: Boolean +

Determines if the field is disabled.

+
+

extraValue

+
+var extraValue: String? +

The additional String value used for the radio button group.

+
+

name

+
+open var name: String? +

The name attribute of the generated HTML input element.

+
+

size

+
+open var size: InputSize? +

The size of the input.

+
+

startValue

+
+var startValue: Boolean +

The value attribute of the generated HTML input element.

+
+

type

+
+var type: CheckInputType +

The type of the generated HTML input element.

+
+

value

+
+var value: Boolean +

The selection state of the input.

+
+

Inherited Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

afterInsert

+
+open fun afterInsert(node: VNode): Unit +

Method called after inserting Snabbdom vnode into the DOM.

+
+

afterPostpatch

+
+open fun afterPostpatch(node: VNode): Unit +

Method called after updating Snabbdom vnode.

+
+

blur

+
+open fun blur(): Unit +

Makes the input element blur.

+
+

focus

+
+open fun focus(): Unit +

Makes the input element focused.

+
+

getSnAttrs

+
+open fun getSnAttrs(): List<StringPair> +

Returns list of element attributes in the form of a List.

+
+

getSnClass

+
+open fun getSnClass(): List<StringBoolPair> +

Returns list of CSS class names for current widget in the form of a List.

+
+

onClick

+
+open fun onClick(handler: CheckInput.(MouseEvent) -> Unit): CheckInput +

A convenient helper for easy setting onClick event handler.

+
+

render

+
+open fun render(): VNode +

Renders current component as a Snabbdom vnode.

+
+

Companion Object Functions

+ + + + + + + +
+

radioInput

+
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: CheckInput.() -> Unit = null): RadioInput +

DSL builder extension function.

+
+ + -- cgit