Search
⌘
K
Open Main Menu
Documentation
Twitter
GitHub
Color Scheme
Open Sidebar
Buttons
Play Button
Buttons
Play Button
API
Docs
API
#
Props
disabled
Attribute:
disabled
Type:
boolean
Reference
Whether the underlying button should be disabled (non-interactive).
defaultPressed
Attribute:
default-pressed
Type:
boolean
Reference
Whether it should start in the on (pressed) state. This prop is only available on the base
<media-toggle-button>
.
#
Slots
Learn more about slots
play
Used to override the default play icon.
pause
Used to override the default pause icon.
#
Instance Props
pressed
Type:
boolean
Reference
Whether the toggle is currently in a
pressed
state.
disabled
Type:
boolean
Reference
Whether the underlying button should be disabled (non-interactive).
Previous
<-
Toggle Button
Next
Mute Button
->