Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno/cli/tsc/dts/lib.dom.d.ts>onplay

A modern runtime for JavaScript and TypeScript.
Latest
variable onplay
import { onplay } from "https://deno.land/x/deno@v2.0.4/cli/tsc/dts/lib.dom.d.ts";

Occurs when the play method is requested.

type

((this: Window, ev: Event) => any) | null