WebIDLpedia

DocumentPictureInPicture interface

Definition

Document Picture-in-Picture Specification defines DocumentPictureInPicture



[Exposed=Window, SecureContext]
interface DocumentPictureInPicture : EventTarget {
  [NewObject] Promise<Window> requestWindow(
    optional DocumentPictureInPictureOptions options = {});
  readonly attribute Window window;
  attribute EventHandler onenter;
};

Methods and attributes that return objects implementing DocumentPictureInPicture

Referring IDL interfaces/dictionaries