vanilla-hamburger
Version:
A tiny framework agnostic hamburger button element for modern web apps
6 lines • 448 B
TypeScript
export declare const bar = "<div part=\"bar\"></div>";
export declare const createTemplate: (tpl: string) => HTMLTemplateElement;
export declare const createRoot: <T extends HTMLElement>(node: T, tpl: HTMLTemplateElement) => ShadowRoot;
export declare const getStyles: (root: ShadowRoot) => CSSStyleDeclaration[];
export declare const setStyles: (style: CSSStyleDeclaration, props: Record<string, string>) => void;
//# sourceMappingURL=dom.d.ts.map