PictureInPictureEvent

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

PictureInPictureEvent 接口表示画中画相关的事件,包括 enterpictureinpictureleavepictureinpictureresize

Event PictureInPictureEvent

构造函数

PictureInPictureEvent()

使用给定的参数创建一个 PictureInPictureEvent 事件。

实例属性

此接口还从其父级 Event 继承了属性

PictureInPictureEvent.pictureInPictureWindow

返回与事件相关的 PictureInPictureWindow

实例方法

此接口还从其父级 Event 继承了方法

规范

Specification
Picture-in-Picture
# event-types

浏览器兼容性

BCD tables only load in the browser

参见