OptionalcloseOptionaleventOptionally override the triggering event which can spawn the menu. If the menu is using fixed positioning, this event must be a MouseEvent.
OptionalfixedIf true, the context menu is given a fixed position rather than being injected into the target.
OptionaljIf true, callbacks will be passed jQuery objects instead of HTMLElement instances.
OptionalonA function to call when the context menu is closed.
OptionalonA function to call when the context menu is opened.
OptionalrelativeFor fixed context menus, control whether the menu is positioned relative to the target or to the mouse cursor. Non-fixed context menus are always positioned relative to the target.
Close the context menu when one of the options is selected.