How to wrap ngMenu into a reusable component while letting consumers provide a custom trigger button?
Summary A user asked how to wrap Angular’s ngMenuTrigger into a reusable component that allows the consumer to provide a custom trigger button. The challenge was that the ngMenuTrigger directive (likely part of the angular-aria library) requires a specific reference (#trigger) and attributes to be attached to the DOM element triggering the menu. Simply using … Read more