Skip to content

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

Open
andregodoy0 wants to merge 1 commit intoTemplarian:masterfrom
andregodoy0:master
Open

Feature: Passing the event object as $event in dynamic menus#102
andregodoy0 wants to merge 1 commit intoTemplarian:masterfrom
andregodoy0:master

Conversation

@andregodoy0
Copy link

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]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant