FullscreenButton
A button component for entering and exiting fullscreen mode
Anatomy
<FullscreenButton /><media-fullscreen-button></media-fullscreen-button>API reference
Props
| Prop | Type | Default | |
|---|---|---|---|
disabled | boolean | false | |
| |||
label | string | function | '' | |
| |||
State
State is accessible via the
render, className, and style props.
State is reflected as data attributes for CSS styling.
| Property | Type | |
|---|---|---|
availability | 'available' | 'unavailable' | 'unsupported' | |
| ||
fullscreen | boolean | |
| ||