Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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,
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,
options?: boolean | EventListenerOptions,
): void;
}
var PictureInPictureWindow: {};

§Extends

§Properties

§
readonly height: number
[src]
§
onresize: ((this: PictureInPictureWindow, ev: Event) => any) | null
[src]
§
readonly width: number
[src]

§Methods

§
addEventListener<K extends keyof PictureInPictureWindowEventMap>(
type: K,
listener: (this: PictureInPictureWindow, ev: PictureInPictureWindowEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void
[src]
§
addEventListener(
type: string,
options?: boolean | AddEventListenerOptions,
): void
[src]
§
removeEventListener<K extends keyof PictureInPictureWindowEventMap>(
type: K,
listener: (this: PictureInPictureWindow, ev: PictureInPictureWindowEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void
[src]
§
removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void
[src]