14 lines
440 B
TypeScript
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
|