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

x/ayonli_jsext/esm/event.js>createCustomEvent

A JavaScript extension package for building strong and modern applications.
Latest
function createCustomEvent
import { createCustomEvent } from "https://deno.land/x/ayonli_jsext@v0.9.72/esm/event.js";

Creates a CustomEvent instance based on the given options. If the CustomEvent constructor is not available, the generic Event constructor will be used instead, and the options will be attached to the event as its properties.

Parameters

type
optional
options = [UNSUPPORTED]