PictureInPictureEvent
The PictureInPictureEvent
interface represents picture-in-picture-related events, including enterpictureinpicture
, leavepictureinpicture
and resize
Constructor
PictureInPictureEvent()
-
Creates a
PictureInPictureEvent
event with the given parameters.
Properties
This interface also inherits properties from its parent Event
.
PictureInPictureEvent.pictureInPictureWindow
-
Returns the
PictureInPictureWindow
the event relates to.
Methods
This interface also inherits properties from its parent Event
.
Specifications
Specification |
---|
Picture-in-Picture # event-types |
Browser compatibility
BCD tables only load in the browser
See also
- The
Event
base interface