Whether the order of the checkbox and its label should be reversed.
rounded
rounded:boolean
type
type:"checkbox"
value
value:string = "on"
StaticshadowRootOptions
shadowRootOptions:ShadowRootInit = ...
Staticstyles
styles: (CSSResult|CSSResultGroup[])[] = ...
handleBlur
handleBlur(event:FocusEvent):void
Parameters
event: FocusEvent
Returns void
handleChange
handleChange(_event:Event):void|Event
Parameters
_event: Event
Returns void|Event
handleFocus
handleFocus(event:FocusEvent):void
Parameters
event: FocusEvent
Returns void
handleInput
handleInput(event:Event):void
Parameters
event: Event
Returns void
key
key(e:KeyboardEvent,type:"down"|"up"):void
Parameters
e: KeyboardEvent
type: "down"|"up"
Returns void
rendering
Protectedrender
render():unknown
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.
Checkboxes allow users to select one or more items from a set. Checkboxes can turn an option on or off.
change - Fired when the checkbox value changes input - Fired when the checkbox value changes
Figma
https://www.figma.com/file/JesXQFLaPJLc1BdBM4sisI/🦓-ZDS---Components?node-id=21510-54003
Storybook
https://zeta-ds.web.app/web/storybook/?path=/docs/checkbox--docs