View as Markdown

API reference: @salmonui/buttons/menu

MenubarValueChangeReasontype

import type { MenubarValueChangeReason } from '@salmonui/buttons/menu';
type MenubarValueChangeReason = MenuOpenChangeReason | 'navigate';

Why the open top-level menu changed; 'navigate' is an arrow key or the pointer moving across the bar.