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

x/deno/cli/js/lib.deno_runtime.d.ts>__customEvent.CustomEvent

A modern runtime for JavaScript and TypeScript.
Go to Latest
class __customEvent.CustomEvent
implements [__domTypes.CustomEvent]
import { __customEvent } from "https://deno.land/x/deno@v0.28.0/cli/js/lib.deno_runtime.d.ts";
const { CustomEvent } = __customEvent;

Constructors

new
CustomEvent(type: string, customEventInitDict?: __domTypes.CustomEventInit)

Properties

readonly
detail: any
readonly
[Symbol.toStringTag]: string

Methods

initCustomEvent(
type: string,
bubbles?: boolean,
cancelable?: boolean,
detail?: any,
): void