Version: 4.x
vime-fullscreen-control
A control for toggling fullscreen mode. This control is not displayed if fullscreen cannot be
requested (checked via the canSetFullscreen()
player method).
#
Visual#
Usage- HTML
- React
- Vue
- Svelte
- Stencil
- Angular
example.vue
example.svelte
example.html
#
PropertiesProperty | Attribute | Description | Type | Default |
---|---|---|---|---|
enterIcon | enter-icon | The URL to an SVG element or fragment to display for entering fullscreen. | string | '#vime-enter-fullscreen' |
exitIcon | exit-icon | The URL to an SVG element or fragment to display for exiting fullscreen. | string | '#vime-exit-fullscreen' |
hideTooltip | hide-tooltip | Whether the tooltip should not be displayed. | boolean | false |
keys | keys | A slash (/ ) separated string of JS keyboard keys (KeyboardEvent.key ), that when caught in a keydown event, will trigger a click event on the control. | string ∣ undefined | 'f' |
tooltipDirection | tooltip-direction | The direction in which the tooltip should grow. | "left" ∣ "right" ∣ undefined | undefined |
tooltipPosition | tooltip-position | Whether the tooltip is positioned above/below the control. | "bottom" ∣ "top" | 'top' |
#
Dependencies#
Used by#
Depends on#
GraphBuilt with StencilJS