Buttons
Caption 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 caption on icon.
Used to override the default caption off 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
Type:
boolean
Whether it should start in the on (pressed) state. This prop is only available on the base
<media-toggle-button>
.
Type:
boolean
Whether the default button appearance should stay visible when elements have been passed inside
it.
Previous
<-
PIP Button
Next
Slider
->