jQuery Context Menu Plugin Cory S.N. LaViska A Beautiful Site (https://abeautifulsite.net/) Modified by Alexis Deveria
More info: https://abeautifulsite.net/2008/09/jquery-context-menu-plugin/
- Version:
- 1.0.1
- License:
- (GPL-2.0-or-later OR MIT) This plugin is dual-licensed under the GNU General Public License and the MIT License and is copyright A Beautiful Site, LLC.
- Source:
- To Do:
-
- Update to latest version and adapt (and needs jQuery update as well): https://github.com/swisnl/jQuery-contextMenu
Methods
(static) jQueryContextMenu($) → {external:jQuery}
Adds external:jQuery.fn.contextMenu,
external:jQuery.fn.disableContextMenuItems,
external:jQuery.fn.enableContextMenuItems,
external:jQuery.fn.disableContextMenu,
external:jQuery.fn.enableContextMenu,
external:jQuery.fn.destroyContextMenu.
Parameters:
| Name | Type | Description |
|---|---|---|
$ |
external:jQuery | The jQuery object to wrap (with |
- Source:
Returns:
- Type
- external:jQuery
Type Definitions
jQueryContextMenuConfig
Type:
Properties:
| Name | Type | Description |
|---|---|---|
menu |
string | |
inSpeed |
Float | |
outSpeed |
Float | |
allowLeft |
boolean |
- Source:
jQueryContextMenuListener(href, srcElement, coords)
Parameters:
| Name | Type | Description |
|---|---|---|
href |
string | The |
srcElement |
external:jQuery | The wrapped jQuery srcElement |
coords |
Object |
- Source: