Closed mihar-22 closed 3 years ago
DoublePressToFullscreen
Press is a more generic word that encompasses click, touch and keyboard triggered events.
Slots
default
CSS Properties
--vds-dptf-z-index
CSS Parts
dptf
dptf-active
Events
vds-user-enter-fullscreen-request
vds-user-exit-fullscreen-request
Not required. Can re-use <vds-fullscreen-button> and add dblclick listener.
<vds-fullscreen-button>
dblclick
Tasks
DoublePressToFullscreen
component,Notes
Press is a more generic word that encompasses click, touch and keyboard triggered events.
Slots
default
: Used to define the region that is pressable.CSS Properties
--vds-dptf-z-index
: The position in the UI z-axis stack inside the player.CSS Parts
dptf
dptf-active
Events
vds-user-enter-fullscreen-request
: UI event emitted when the component is pressed to enter fullscreen.vds-user-exit-fullscreen-request
: UI event emitted when the component is pressed to exit fullscreen.References