customerio-gist-web
Version:
Build beautiful in-app flows with no code and deliver them instantly to your app. http://customer.io
7 lines (6 loc) • 390 B
TypeScript
export declare function findElement(selector: string): HTMLElement | null;
export declare function el<K extends keyof HTMLElementTagNameMap>(tag: K, attrs?: Partial<HTMLElementTagNameMap[K]> & {
[k: string]: unknown;
}): HTMLElementTagNameMap[K];
export declare function injectStylesheet(id: string, css: string): void;
export declare function appendToBody(element: HTMLElement): void;