Templarian / ui.bootstrap.contextMenu

AngularJS Bootstrap UI Context Menu
MIT License
259 stars 127 forks source link

Feature: Passing the event object as $event in dynamic menus #102

Open andregodoy0 opened 7 years ago

andregodoy0 commented 7 years ago

This allows the event object to be passed to the callback function when using dynamically generated context menus, before selecting any option. It is useful if you want to evaluate the event properties when creating the menu.

Demo: http://codepen.io/anon/pen/gmLezP In order to show the 'Buy' option you have to [ctrl+right click]