Segmented buttons

Display a group of two buttons which are exclusive: activating one will deactivate the other one.

By default, the left button is active.

Active: {{ active1 }}

Active: {{ active2 }}

Inputs

leftButton
Left button’s label. (Mandatory)
rightButton
Right button’s label. (Mandatory)
active
Which button is active. Can be left or right. (left by default)

Outputs

activeChange
Event emitted when active button is changing. Value emitted can be either left or right
{{code}}
{{code2}}