Optional
acceptsSpecifies whether the first touch event received by the UIContainer should be prevented or not.
Default: false
Optional
ariaWCAG20 standard for defining info about the component (usually the name)
It is recommended to use onAriaLabel
and offAriaLabel
for toggle buttons
as the component can then update them as the button is used.
If both ariaLabel
and onAriaLabel
are set, onAriaLabel
is used.
Optional
cssThe CSS classes of the component. This is usually the class from where the component takes its styling.
Optional
cssAdditional CSS classes of the component.
Optional
cssA prefix to prepend all CSS classes with.
Optional
disabledSpecifies if the component is enabled (interactive) or not. Default: false
Optional
hiddenSpecifies if the component should be hidden at startup. Default: false
Optional
idThe HTML ID of the component. Default: automatically generated with pattern 'ui-id-{guid}'.
Optional
offThe aria label that marks the off-state of the button.
Optional
offThe CSS class that marks the off-state of the button.
Optional
onThe aria label that marks the on-state of the button.
Optional
onThe CSS class that marks the on-state of the button.
Optional
roleSpecifies the component role for WCAG20 standard
Optional
tabWCAG20 requirement for screen reader navigation
Optional
tagThe HTML tag name of the component. Default: 'div'
Optional
textThe text as string or as localize callback on the button.
Configuration interface for a toggle button component.