Binds trigger/content/anchor DOM for focus, outside interaction, and positioning.
Closes and restores focus when configured by the binding.
Optionaldetails: ChangeDetails<OpenChangeReason>Releases owned listeners, timers, observers, focus scopes, and subscriptions.
Returns the current immutable snapshot, including after destruction.
Opens at pointer coordinates and prevents the native menu only while active.
Opens from Shift+F10 or ContextMenu keyboard activation.
Handles Arrow keys, Home/End, typeahead, Enter/Space, Escape, and submenu keys.
Removes a previously registered listener.
Registers a listener and returns an idempotent unsubscribe function.
Registers a listener that is automatically removed after its first call.
Opens and focuses the first enabled item by default.
Optionaldetails: ChangeDetails<OpenChangeReason>Registers dynamic item metadata and optional focusable DOM.
Optionalelement: HTMLElementConnects a registered submenu trigger to a child Menu controller.
Activates an enabled item with a cancellable lifecycle event.
Optionaldetails: ChangeDetails<MenuSelectReason>Sets the active item for pointer integrations without selecting it.
Subscribes to future distinct snapshots without synchronously invoking the listener.
Requests the opposite open state.
Optionaldetails: ChangeDetails<OpenChangeReason>
Context Menu controller supporting pointer and keyboard virtual anchors.