@benev/slate
Version:
frontend web stuff
8 lines (7 loc) • 506 B
TypeScript
export declare function parse_prefixes(...partstrings: (string | null)[]): Set<string>;
export declare function query_attributes<Q extends {
[key: string]: string;
}>(container: HTMLElement | ShadowRoot, attributes: Q): { [P in keyof Q]: string[]; };
export declare function parse_part(attr: string): string[];
export declare function parse_exportparts(attr: string): string[];
export declare function stitch_exportparts_together(parts: Set<string>, gparts: Set<string>): (prefix: string) => string[];