happy-dom
Version:
Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. It includes many web standards from WHATWG DOM and HTML.
14 lines • 440 B
TypeScript
/**
* Custom element utility.
*/
export default class CustomElementUtility {
/**
* Returns true if the tag name is a valid custom element name.
*
* @see https://html.spec.whatwg.org/multipage/custom-elements.html#valid-custom-element-name
* @param name Tag name.
* @returns True if valid.
*/
static isValidCustomElementName(name: string): boolean;
}
//# sourceMappingURL=CustomElementUtility.d.ts.map