OptionalcloseOnSelect?: booleanClose the menu after an item is activated. Defaults to true. Set to
false for menus of menuitemcheckbox items that should stay open while
several are toggled.
OptionaldefaultOpen?: booleanOpen the menu immediately on enhance, without moving focus. Defaults to false.
OptionalonOpenChange?: (open: boolean) => voidCalled after the menu opens or closes.
OptionalonSelect?: (value: string, item: HTMLElement, checked?: boolean) => voidCalled with the item's value when a menu item is activated. For
menuitemcheckbox/menuitemradio items, checked is the new state.
Optionalplacement?: PlacementPlacement passed to the JS positioning fallback. Defaults to bottom-start.
Optionalposition?: booleanRun the JS positioning fallback when CSS anchor positioning is missing. Defaults to true.
Options for enhanceDropdown.