ef-pip

This element is a Picture-in-Picture toggle.

This element is a Picture-in-Picture toggle.

Attributes

AttributeReact propTypeDefaultDescription
targettargetstring""ID of the target element this component controls or reads from.

Slots

SlotDescription
enterShown when the target is not in Picture-in-Picture mode. Click the target to enter Picture-in-Picture mode.
exitShown while the target is in Picture-in-Picture mode. Click the target to exit Picture-in-Picture mode.

CSS Parts

PartDescription
buttonThe click target that contains the slotted `enter` and `exit` content.