Skip to content

handle to triggering event in callback function #211

Closed
@vidyasagar-a

Description

@vidyasagar-a

Hi Rodney,
It will be nice to have the original event which triggered the context menu as part of the run-time options that are passed to callback function. I needed to know where the mouse of right clicked and I ended up doing this:-
position: function($menu, x, y) {
//cache my x, y
$.contextMenu.defaults.position($menu, x, y);
},
Thanks,
sagar

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions