PictureInPictureEvent
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
ThePictureInPictureEvent interface represents picture-in-picture-related events, includingenterpictureinpicture,leavepictureinpicture andresize.
In this article
Constructor
PictureInPictureEvent()Creates a
PictureInPictureEventevent with the given parameters.
Instance properties
This interface also inherits properties from its parentEvent.
PictureInPictureEvent.pictureInPictureWindowReturns the
PictureInPictureWindowthe event relates to.
Instance methods
This interface also inherits methods from its parentEvent.
Specifications
| Specification |
|---|
| Picture-in-Picture> # event-types> |
Browser compatibility
See also
- The
Eventbase interface