Checkboxes allow users to select one or more items from a set. Checkboxes can turn an option on or off.

Hierarchy

  • BaseToggleFormElement
    • ZetaCheckbox

Other

checked?: boolean
disabled: boolean
indeterminate: boolean
input: HTMLInputElement
internals: ElementInternals
name: string
required: boolean
rounded: boolean
type: InputType = ...
value: string = "on"
shadowRootOptions: ShadowRootInit = ...
styles: (CSSResult | CSSResultGroup[])[] = ...

rendering

  • Invoked on each update to perform rendering tasks. This method may return any value renderable by lit-html's ChildPart - typically a TemplateResult. Setting properties inside this method will not trigger the element to update.

    Returns TemplateResult<1>