@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.
18 lines (14 loc) • 402 B
TypeScript
export type IGauge = {
value: number;
min: number;
max: number;
};
/** JustGage constructor options merged with `{ element }` in the component. */
export type GaugeOptions = IGauge & Record<string, unknown>;
export type Component = {
id?: string;
style?: string;
/** JSON string from HTML, or an object when set from JavaScript. */
options: string | GaugeOptions;
};
export type Events = {};