Module: toggleGroup/ToggleGroup

Group multiple Toggle components. Allows multiple and single selection mode.

Source:
See:

Members

(static, constant) ToggleGroup :object

Type:
  • object
Properties:
Name Type Attributes Default Description
type 'single' | 'multiple' <optional>
"multiple"

in multiple mode, all toggles can go on/off, while in single
mode only the last activated toggle is on and all others a put in "off" state.

Source:
Fires:

Events

change

Change event. Relates to the toggle-group element.

Type:
  • CustomEvent
Properties:
Name Type Description
detail Object

the transported data, selected varies by mode (single, multiple)

Source: