IMenuProvide
interface
Component Provide
Provide/inject contract used by <OrigamMenu> to coordinate nested menus. register() and unregister() manage child menu registration; closeParents() traverses the injection chain to close all ancestor menus when an item is selected.
TypeScript
Definition
The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Injecting the menu context in a nested child