Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
method default.prototype.dispatchEvent
import { default } from "https://deno.land/x/evtemitter@v3.1.0/EventEmitter.ts";

Parameters

event: Ev

the event

Returns

boolean

Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.