Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/deno/cli/js/web/event_target.ts>EventTargetImpl

A modern runtime for JavaScript and TypeScript.
Go to Latest
class EventTargetImpl
implements EventTarget
import { EventTargetImpl } from "https://deno.land/x/deno@v1.0.0/cli/js/web/event_target.ts";

Constructors

new
EventTargetImpl()

Properties

readonly
[Symbol.toStringTag]: string

Methods

protected
getParent(_event: Event): EventTarget | null
addEventListener(
type: string,
options?: AddEventListenerOptions | boolean,
): void
dispatchEvent(event: Event): boolean
removeEventListener(
type: string,
options?: EventListenerOptions | boolean,
): void