@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.
21 lines (18 loc) • 387 B
TypeScript
export interface IDropDownMenuListItem {
key: string;
label: string;
badge?: number;
group?: string;
linkHref?: string;
}
export type Component = {
id?: string;
style?: string;
position?: "left" | "right";
list: IDropDownMenuListItem[];
open?: boolean;
};
export type Events = {
dropdownSwitch: { open: boolean; id: string };
dropDownClick: { key: string };
};