@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.
27 lines (25 loc) • 539 B
TypeScript
interface IUserMenuListItem {
key: string;
label: string;
badge?: number;
group?: string;
}
export interface IUserMenu {
imgUri: string;
list?: IUserMenuListItem[];
}
export type Component = {
id?: string;
style?: string;
companybrandname: string;
companylogouri: string;
// pagetitle: string;
switchopen?: "yes" | "no";
usermenu?: IUserMenu;
noburger?: string;
};
export type Events = {
navbarDropDownClick: { key: string };
navmenuswitch: { isOpen: boolean };
navbarSlotClick: { side: "left" | "right" | "center" };
};