import { CustomElementRegistry } from "https://deno.land/x/gauntlet@v0.0.9/imports/happy_dom.ts";
Custom elements registry.
Methods
define(): void
tagName: string,
elementClass: HTMLElement,
options?: { extends: string; },
Defines a custom element class.
get(tagName: string): HTMLElement
Returns a defined element class.
Upgrades a custom element directly, even before it is connected to its shadow root.
Not implemented yet.
whenDefined(tagName: string): Promise<void>
When defined.