Md Checkbox
open class MdCheckbox(checked: Boolean = false, disabled: Boolean = false, indeterminate: Boolean = false, required: Boolean = false, value: String = "on", name: String? = null, touchTarget: TouchTarget? = TouchTarget.Wrapper, validationMessage: String? = null, className: String? = null, init: MdCheckbox.() -> Unit? = null) : MdFormToggleInputWidget
Checkboxes allow users to select one or more items from a set. Checkboxes can turn an option on or off.
There's one type of checkbox in Material. Use this selection control when the user needs to select one or more options from a list.
See https://material-web.dev/components/checkbox/
Author
Maanrifa Bacar Ali
Constructors
Link copied to clipboard
constructor(checked: Boolean = false, disabled: Boolean = false, indeterminate: Boolean = false, required: Boolean = false, value: String = "on", name: String? = null, touchTarget: TouchTarget? = TouchTarget.Wrapper, validationMessage: String? = null, className: String? = null, init: MdCheckbox.() -> Unit? = null)
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Indicates the validity of the value of the element. If the value is invalid, this method also fires the invalid event on the element.
Link copied to clipboard
Performs the same validity checking steps as the checkValidity method. If the value is invalid, this method also fires the invalid event on the element, and (if the event isn't canceled) reports the problem to the user.
Link copied to clipboard
Sets a custom validity message for the underlying element.