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 allow you to configure an element in a declarative manner via markup.

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

Properties

Properties allow you to configure an element in an imperative manner via JavaScript.

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