@github/catalyst
Version:
Helpers for creating HTML Elements as Controllers
7 lines • 475 B
TypeScript
declare type Parse = (str: string) => string[];
declare type Found = (el: Element, controller: Element | ShadowRoot, tag: string, ...parsed: string[]) => void;
export declare const parseElementTags: (el: Element, tag: string, parse: Parse) => string[][];
export declare const registerTag: (tag: string, parse: Parse, found: Found) => void;
export declare const observeElementForTags: (root: Element | ShadowRoot) => void;
export {};
//# sourceMappingURL=tag-observer.d.ts.map