@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) • 415 B
TypeScript
export interface ITrack {
minValue: number;
maxValue: number;
}
export type Component = {
id?: string;
style?: string;
src: string;
form?: string;
track?: ITrack;
};
export type Events = {
changeTrackValues: { minVaule: number; maxValue: number };
/** Detail is the track object, or track merged with validated `hb-form` fields when `form` is set. */
dispatchTrack: ITrack & Record<string, unknown>;
};