Skip to main content

ElementCheckbox

Namespace for creating DOM checkboxes.

Index

Interfaces

Interfaces

Options

Options:

Various options that can be passed along to ElementCheckbox.Create

optionalchecked

checked?: boolean

Whether the checkbox is checked by default or not

optionaldisabled

disabled?: boolean

Whether the checkbox should be disabled or not

optionalvalue

value?: string | number

The HTMLInputElement.value/HTMLInputElement.valueAsNumber associated with the checkbox when checked.

Defaults to "on" if not specified.

Page Options