The igc-toggle-button wraps a native button element and exposes additional value and selected properties.
It is used in the context of an igc-button-group to facilitate the creation of group/toolbar like UX behaviors.
- Slots
-
Renders— the label/content of the button.
- CSS Parts
-
toggle— The native button element.
Properties
Section titled "Properties"Methods
Section titled "Methods"Removes focus from the button.
blur(): void Returns void
click
Section titled "click"Simulates a mouse click on the element.
click(): void Returns void
focus
Section titled "focus"Sets focus on the button.
focus(options: FocusOptions): void Parameters
- options:
FocusOptions