@htmlbricks/hb-bundle
Version:
Single IIFE loader for all HTML Bricks hb-* web components from the jsDelivr CDN, with optional Subresource Integrity; includes agent/LLM docs and theme CSS variables.
19 lines (16 loc) • 389 B
TypeScript
export interface IHeader {
[x: string]: string;
}
export type Component = {
id?: string;
style?: string;
downloadid?: string;
uri: string;
headers?: IHeader;
targetfilename?: string;
};
export type Events = {
downloadError: { downloaded: boolean; id: string; error: unknown };
downloadComplete: { downloaded: boolean; id: string };
modalShow: { id: string; show: boolean };
};