UI
Toggle Button API
This component is used to create buttons that have an on and off state (i.e., toggle).
Import
Properties
Previous
<-
Buffering Indicator
Next
Play Button
->
UI
This component is used to create buttons that have an on and off state (i.e., toggle).
import '@vidstack/player/define/vds-toggle-button.js';
<script
type="module"
src="https://cdn.jsdelivr.net/npm/@vidstack/player@next/cdn/define/vds-toggle-button.js"
></script>