Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
interface PictureInPictureWindow
implements EventTarget
import { type PictureInPictureWindow } from "https://deno.land/x/yxz@0.17.0/typing/lib.dom.ts";

Properties

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

Methods

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