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

x/evt/lib/types/index.ts>dom.CustomElementRegistry

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.CustomElementRegistry
import { type dom } from "https://deno.land/x/evt@v2.5.6/lib/types/index.ts";
const { CustomElementRegistry } = dom;

Methods

define(
name: string,
): void
get(name: string): any
upgrade(root: Node): void
whenDefined(name: string): Promise<void>