Skip to content
PropDefaultType
as
'div'
object | AsTag
defaultPressed
boolean

The state of the toggle when initially rendered. Use defaultPressed if you do not need to control the state of the toggle.

disabled
boolean
pressed
boolean

The controlled state of the toggle.

EmitPayload
update:pressed
[value: boolean]