@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.
20 lines (17 loc) • 406 B
TypeScript
export type Fetch = {
headers?: { [x: string]: string };
data: any;
method?: string;
url: string;
};
export type Component = {
id?: string;
style?: string;
upload_id?: string;
fetch_data?: Fetch;
};
export type Events = {
uploadError: { completed: boolean; id: string; error: Error };
uploadComplete: { completed: boolean; id: string };
modalShow: { id: string; show: boolean };
};