This element toggles the browser Fullscreen API on a target element.
Attributes
1 of 1
target
- React prop
target- Type
string- Default
""- Description
- ID of the target element this component controls or reads from.
Slots
| Slot | Description |
|---|---|
enter | Shown when the target element is not in fullscreen mode. Click the target to enter fullscreen. |
exit | Shown while the target element is in fullscreen mode. Click the target to exit fullscreen. |
CSS Parts
| Part | Description |
|---|---|
button | The click target that contains the slotted enter and exit content. |