Skip to main content
Module

x/pouch/deps.ts>dispatchCustomEvent

Collection of Web Components
Latest
function dispatchCustomEvent
import { dispatchCustomEvent } from "https://deno.land/x/pouch@v0.0.8/deps.ts";

Dispatch a CustomEvent which bubbles as default through the whole DOM.

Parameters

eventName: string
element: HTMLElement
optional
unnamed 2: { bubbles?: boolean; composed?: boolean; detail?: unknown; } = [UNSUPPORTED]

Returns

boolean