Package-level declarations

Onsen UI form components.

Types

Link copied to clipboard

Data/time input modes.

Link copied to clipboard
open class OnsButton(content: String? = null, rich: Boolean = false, align: <Error class: unknown class>? = null, icon: String? = null, buttonType: OnsButtonType? = null, large: Boolean? = null, ripple: Boolean? = null, disabled: Boolean? = null, className: String? = null, init: OnsButton.() -> Unit? = null)

A button component.

Link copied to clipboard

Onsen UI button types.

Link copied to clipboard
open class OnsCheckBox(value: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, className: String? = null, init: OnsCheckBox.() -> Unit? = null)

Onsen UI form field checkbox component.

Link copied to clipboard
open class OnsCheckBoxInput(value: Boolean = false, inputId: String? = null, className: String? = null, init: OnsCheckBoxInput.() -> Unit? = null)

OnsenUI checkbox input component.

Link copied to clipboard
open class OnsDateTime(value: <Error class: unknown class>? = null, mode: DateTimeMode = DateTimeMode.DATETIME, min: <Error class: unknown class>? = null, max: <Error class: unknown class>? = null, step: Number? = null, name: String? = null, label: String? = null, rich: Boolean = false, className: String? = null, init: OnsDateTime.() -> Unit? = null)

Onsen UI form field date/time component.

Link copied to clipboard
open class OnsDateTimeInput(value: <Error class: unknown class>? = null, mode: DateTimeMode = DateTimeMode.DATETIME, min: <Error class: unknown class>? = null, max: <Error class: unknown class>? = null, step: Number? = null, inputId: String? = null, className: String? = null, init: OnsDateTimeInput.() -> Unit? = null)

OnsenUI date/time input component.

Link copied to clipboard
open class OnsNumber(value: Number? = null, min: Number? = null, max: Number? = null, step: Number = DEFAULT_STEP, placeholder: String? = null, floatLabel: Boolean? = null, name: String? = null, label: String? = null, rich: Boolean = false, className: String? = null, init: OnsNumber.() -> Unit? = null)

Onsen UI form field number component.

Link copied to clipboard
open class OnsNumberInput(value: Number? = null, min: Number? = null, max: Number? = null, step: Number = DEFAULT_STEP, placeholder: String? = null, floatLabel: Boolean? = null, inputId: String? = null, className: String? = null, init: OnsNumberInput.() -> Unit? = null)

OnsenUI number input component.

Link copied to clipboard
open class OnsRadio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, className: String? = null, init: OnsRadio.() -> Unit? = null)

Onsen UI form field radio button component.

Link copied to clipboard
open class OnsRadioGroup(options: List<<Error class: unknown class>>? = null, value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, className: String? = null, init: OnsRadioGroup.() -> Unit? = null)

The form field component rendered as a group of OnsenUI radio buttons with the same name attribute.

Link copied to clipboard
open class OnsRadioGroupInput(options: List<<Error class: unknown class>>? = null, value: String? = null, name: String? = null, className: String? = null, init: OnsRadioGroupInput.() -> Unit? = null)

The input component rendered as a group of Onsen UI radio buttons with the same name attribute.

Link copied to clipboard
open class OnsRadioInput(value: Boolean = false, inputId: String? = null, className: String? = null, init: OnsRadioInput.() -> Unit? = null)

OnsenUI radio button input component.

Link copied to clipboard
open class OnsRange(value: Number? = null, min: Number = 0, max: Number = 100, step: Number = DEFAULT_STEP, name: String? = null, label: String? = null, rich: Boolean = false, className: String? = null, init: OnsRange.() -> Unit? = null)

Onsen UI form field range component.

Link copied to clipboard
open class OnsRangeInput(value: Number? = null, min: Number = 0, max: Number = 100, step: Number = DEFAULT_STEP, inputId: String? = null, className: String? = null, init: OnsRangeInput.() -> Unit? = null)

OnsenUI range input component.

Link copied to clipboard
open class OnsSelect(options: List<<Error class: unknown class>>? = null, value: String? = null, emptyOption: Boolean = false, multiple: Boolean = false, selectSize: Int? = null, name: String? = null, label: String? = null, rich: Boolean = false, className: String? = null, init: OnsSelect.() -> Unit? = null)

Onsen UI form field select component.

Link copied to clipboard
open class OnsSelectInput(options: List<<Error class: unknown class>>? = null, value: String? = null, emptyOption: Boolean = false, multiple: Boolean = false, selectSize: Int? = null, selectId: String? = null, className: String? = null, init: OnsSelectInput.() -> Unit? = null)

OnsenUI select input component.

Link copied to clipboard
open class OnsSwitch(value: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, className: String? = null, init: OnsSwitch.() -> Unit? = null)

Onsen UI form field switch component.

Link copied to clipboard
open class OnsSwitchInput(value: Boolean = false, inputId: String? = null, className: String? = null, init: OnsSwitchInput.() -> Unit? = null) : OnsCheckBoxInput

OnsenUI switch input component.

Link copied to clipboard
open class OnsText(type: <Error class: unknown class> = InputType.TEXT, value: String? = null, placeholder: String? = null, floatLabel: Boolean? = null, name: String? = null, maxlength: Int? = null, label: String? = null, rich: Boolean = false, className: String? = null, init: OnsText.() -> Unit? = null)

Onsen UI form field text component.

Link copied to clipboard
open class OnsTextInput(type: <Error class: unknown class> = InputType.TEXT, value: String? = null, placeholder: String? = null, floatLabel: Boolean? = null, inputId: String? = null, maxlength: Int? = null, className: String? = null, init: OnsTextInput.() -> Unit? = null)

OnsenUI text input component.

Functions

Link copied to clipboard
fun <Error class: unknown class>.onsButton(content: String? = null, rich: Boolean = false, align: <Error class: unknown class>? = null, icon: String? = null, buttonType: OnsButtonType? = null, large: Boolean? = null, ripple: Boolean? = null, disabled: Boolean? = null, className: String? = null, init: OnsButton.() -> Unit? = null): OnsButton

DSL builder extension function.

Link copied to clipboard
fun <Error class: unknown class>.onsCheckBox(value: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, className: String? = null, init: OnsCheckBox.() -> Unit? = null): OnsCheckBox

DSL builder extension function.

Link copied to clipboard
fun <Error class: unknown class>.onsCheckBoxInput(value: Boolean = false, inputId: String? = null, className: String? = null, init: OnsCheckBoxInput.() -> Unit? = null): OnsCheckBoxInput

DSL builder extension function.

Link copied to clipboard
fun <Error class: unknown class>.onsDateTime(value: <Error class: unknown class>? = null, mode: DateTimeMode = DateTimeMode.DATETIME, min: <Error class: unknown class>? = null, max: <Error class: unknown class>? = null, step: Number? = null, name: String? = null, label: String? = null, rich: Boolean = false, className: String? = null, init: OnsDateTime.() -> Unit? = null): OnsDateTime

DSL builder extension function.

Link copied to clipboard
fun <Error class: unknown class>.onsDateTimeInput(value: <Error class: unknown class>? = null, mode: DateTimeMode = DateTimeMode.DATETIME, min: <Error class: unknown class>? = null, max: <Error class: unknown class>? = null, step: Number? = null, inputId: String? = null, className: String? = null, init: OnsDateTimeInput.() -> Unit? = null): OnsDateTimeInput

DSL builder extension function.

Link copied to clipboard
fun <Error class: unknown class>.onsNumber(value: Number? = null, min: Number? = null, max: Number? = null, step: Number = DEFAULT_STEP, placeholder: String? = null, floatLabel: Boolean? = null, name: String? = null, label: String? = null, rich: Boolean = false, className: String? = null, init: OnsNumber.() -> Unit? = null): OnsNumber

DSL builder extension function.

Link copied to clipboard
fun <Error class: unknown class>.onsNumberInput(value: Number? = null, min: Number? = null, max: Number? = null, step: Number = DEFAULT_STEP, placeholder: String? = null, floatLabel: Boolean? = null, inputId: String? = null, className: String? = null, init: OnsNumberInput.() -> Unit? = null): OnsNumberInput

DSL builder extension function.

Link copied to clipboard
fun <Error class: unknown class>.onsRadio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, className: String? = null, init: OnsRadio.() -> Unit? = null): OnsRadio

DSL builder extension function.

Link copied to clipboard
fun <Error class: unknown class>.onsRadioGroup(options: List<<Error class: unknown class>>? = null, value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, className: String? = null, init: OnsRadioGroup.() -> Unit? = null): OnsRadioGroup

DSL builder extension function.

Link copied to clipboard
fun <Error class: unknown class>.onsRadioGroupInput(options: List<<Error class: unknown class>>? = null, value: String? = null, name: String? = null, className: String? = null, init: OnsRadioGroupInput.() -> Unit? = null): OnsRadioGroupInput

DSL builder extension function.

Link copied to clipboard
fun <Error class: unknown class>.onsRadioInput(value: Boolean = false, inputId: String? = null, className: String? = null, init: OnsRadioInput.() -> Unit? = null): OnsRadioInput

DSL builder extension function.

Link copied to clipboard
fun <Error class: unknown class>.onsRange(value: Number? = null, min: Number = 0, max: Number = 100, step: Number = DEFAULT_STEP, name: String? = null, label: String? = null, rich: Boolean = false, className: String? = null, init: OnsRange.() -> Unit? = null): OnsRange

DSL builder extension function.

Link copied to clipboard
fun <Error class: unknown class>.onsRangeInput(value: Number? = null, min: Number = 0, max: Number = 100, step: Number = DEFAULT_STEP, inputId: String? = null, className: String? = null, init: OnsRangeInput.() -> Unit? = null): OnsRangeInput

DSL builder extension function.

Link copied to clipboard
fun <Error class: unknown class>.onsSelect(options: List<<Error class: unknown class>>? = null, value: String? = null, emptyOption: Boolean = false, multiple: Boolean = false, selectSize: Int? = null, name: String? = null, label: String? = null, rich: Boolean = false, className: String? = null, init: OnsSelect.() -> Unit? = null): OnsSelect

DSL builder extension function.

Link copied to clipboard
fun <Error class: unknown class>.onsSelectInput(options: List<<Error class: unknown class>>? = null, value: String? = null, emptyOption: Boolean = false, multiple: Boolean = false, selectSize: Int? = null, inputId: String? = null, className: String? = null, init: OnsSelectInput.() -> Unit? = null): OnsSelectInput

DSL builder extension function.

Link copied to clipboard
fun <Error class: unknown class>.onsSwitch(value: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, className: String? = null, init: OnsSwitch.() -> Unit? = null): OnsSwitch

DSL builder extension function.

Link copied to clipboard
fun <Error class: unknown class>.onsSwitchInput(value: Boolean = false, inputId: String? = null, className: String? = null, init: OnsSwitchInput.() -> Unit? = null): OnsSwitchInput

DSL builder extension function.

Link copied to clipboard
fun <Error class: unknown class>.onsText(type: <Error class: unknown class> = InputType.TEXT, value: String? = null, placeholder: String? = null, floatLabel: Boolean? = null, name: String? = null, maxlength: Int? = null, label: String? = null, rich: Boolean = false, className: String? = null, init: OnsText.() -> Unit? = null): OnsText

DSL builder extension function.

Link copied to clipboard
fun <Error class: unknown class>.onsTextInput(type: <Error class: unknown class> = InputType.TEXT, value: String? = null, placeholder: String? = null, floatLabel: Boolean? = null, inputId: String? = null, maxlength: Int? = null, className: String? = null, init: OnsTextInput.() -> Unit? = null): OnsTextInput

DSL builder extension function.