FrameworkStyle

FullscreenButton

A button component for entering and exiting fullscreen mode

Anatomy

<FullscreenButton />

API reference

Props

Prop Type Default
disabled boolean false
label string | function ''

State

State is accessible via the render, className, and style props.

Property Type
availability 'available' | 'unavailable' | 'unsupported'
fullscreen boolean

Data attributes

Attribute Description
data-fullscreen Present when fullscreen mode is active.
data-availability Indicates fullscreen availability (available or unsupported).
VideoJS