sydcanem / bootstrap-contextmenu

Context menu plugin for Twitter's Bootstrap framework
http://sydcanem.com/bootstrap-contextmenu/
645 stars 193 forks source link

Impossible to get the caller instance #14

Closed hacking-robot closed 11 years ago

hacking-robot commented 11 years ago

Let's say you have a ul list with a single contextmenu so you have only one menu to manage and It also prevent to have several contextmenu opened at the same time on each li. The thing is that it is impossible to get the li caller so you can perform the desired action following that li contextmenu just clicked.

sydcanem commented 11 years ago

Hey dex,

You can listen for 'context' event which is fired when the contextmenu is opened. See this gist