Package-level declarations

Checkbox, radiobutton and radiobutton group components.

Types

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

The form field Bootstrap checkbox component rendered as a switch.

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

The basic input Bootstrap checkbox component rendered as a switch.

Functions

Link copied to clipboard
fun Container.switch(value: Boolean = false, name: String? = null, labelFirst: Boolean = false, label: String? = null, rich: Boolean = false, init: Switch.() -> Unit? = null): Switch

DSL builder extension function.

Link copied to clipboard
fun Container.switchInput(value: Boolean = false, className: String? = null, init: SwitchInput.() -> Unit? = null): SwitchInput

DSL builder extension function.