Skip to main content

<hx-checkbox> v0.2.0+ HelixUI v0.2.0 or later required

The custom <hx-checkbox> element renders an interactive checkbox control for use within forms.

Methods

click()
Simulates a mouse click on the element

Attributes

Attributes enable declarative configuration of an element, via HTML markup.

checked
Checks the checkbox
invalid
Invalidates the checkbox
disabled
Disables the checkbox

Properties

JavaScript properties enable programmatic access to an element's configuration and state.

checked {Boolean [false]}
Determines if checkbox is checked.
disabled {Boolean [false]}
Determines if checkbox is disabled.
indeterminate {Boolean [false]}
Determines if checkbox is indeterminate.

See Also