isaacplmann / ngx-contextmenu

An Angular component to show a context menu on an arbitrary component
MIT License
248 stars 91 forks source link

Creating context menu template #176

Open george-sarji opened 5 years ago

george-sarji commented 5 years ago

I've tried to create a context menu template to no avail. I'm going to use this specific template in approximately 4-5 other components, but the documentation was extremely vague and I couldn't figure it out.

I want to create a specific template that will take certain data (e.g a boolean and a string) along with the item for usage within the template, but I can't find any references to injected data in the section speaking about context menus in different components.

Any help is appreciated.

jarodsmk commented 5 years ago

@george-sarji - not sure if you made any progress on your issue, a similar solved issue can be found here: https://github.com/isaacplmann/ngx-contextmenu/issues/156