A horizontal list of menus often at the top of a window.
export type MenuBarContext = {
openPreviousMenuBarItem?: () => void;
openNextMenuBarItem?: () => void;
};
HTMLDivElement props are included.
/** Additional class names to apply. */
export let variant: string = '';
HTMLDivElement events are included.
dispatch('close', { value });
dispatch('open', { value });
dispatch('select', { value });
HTMLDivElement blur
, and focus
methods are included.
<div class="sterling-menu-bar">
<slot {variant} />
</div>