@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.
25 lines (22 loc) • 433 B
TypeScript
export interface INavLink {
key: string;
bootstrapIcon?: string;
text: string;
subtext?: string;
badge?: {
text: string;
class?: string;
classcolor?: string;
};
value?: string | number | boolean;
selected?: boolean;
type?: "switch" | "range" | "radio" | "checkbox" | "button";
}
export type Component = {
id?: string;
style?: string;
navlink: INavLink;
};
export type Events = {
pageChange: { page: string };
};