Buttons
Play Button API
# Props
Attribute:
disabled
Type:
boolean
Whether the underlying button should be disabled (non-interactive).
Attribute:
default-pressed
Type:
boolean
Whether it should start in the on (pressed) state. This prop is only available on the base
<media-toggle-button>
.
Attribute:
default-appearance
Type:
boolean
Whether the default button appearance should stay visible when elements have been passed inside
it.
# Slots
Learn more about slotsUsed to override the default play icon.
Used to override the default replay icon.
Used to override the default pause icon.
Used to place a tooltip above the button in the left corner.
Used to place a tooltip above the button in the center.
Used to place a tooltip above the button in the right corner.
Used to place a tooltip below the button in the left corner.
Used to place a tooltip below the button in the center.
Used to place a tooltip below the button in the right corner.
# Instance Props
Previous
<-
Toggle Button
Next
Mute Button
->