medialize/jQuery-contextMenu — pull request #72 by dtex (2012-08-30 20:36:09+00:00)
Title: Pass options object to item.events handlers in event.data

I want to be able to access the $trigger element in the items.events handlers.

In my case, when a user triggers a change event on an input type=select I want my change handler to know which dom element triggered the contextual menu.

Passing this to the jQuery event exposes it within the handler as:

e.data.$trigger