PictureInPictureWindow
interface PictureInPictureWindow extends EventTarget {
readonly height: number;
onresize: ((this: PictureInPictureWindow, ev: Event) => any) | null;
readonly width: number;
addEventListener<K extends keyof PictureInPictureWindowEventMap>(
type: K,
listener: (this: PictureInPictureWindow, ev: PictureInPictureWindowEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void;addEventListener(
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
): void;removeEventListener<K extends keyof PictureInPictureWindowEventMap>(
type: K,
listener: (this: PictureInPictureWindow, ev: PictureInPictureWindowEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void;removeEventListener(
}type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | EventListenerOptions,
): void;var PictureInPictureWindow: {
prototype: PictureInPictureWindow;
new (): PictureInPictureWindow;
};§Extends
§Properties
§
onresize: ((this: PictureInPictureWindow, ev: Event) => any) | null
[src]§Methods
§
addEventListener<K extends keyof PictureInPictureWindowEventMap>(
[src]type: K,
listener: (this: PictureInPictureWindow, ev: PictureInPictureWindowEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void§
addEventListener(
[src]type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
): void§
removeEventListener<K extends keyof PictureInPictureWindowEventMap>(
[src]type: K,
listener: (this: PictureInPictureWindow, ev: PictureInPictureWindowEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void§
removeEventListener(
[src]type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | EventListenerOptions,
): void