This repository has been archived by the owner on Aug 14, 2021. It is now read-only.
Releases: mar10/jquery-ui-contextmenu
Releases · mar10/jquery-ui-contextmenu
v1.18.1
v1.18.0
- [CHANGE] Refactored entry update methods
setEntry(cmd, data)
:
Clarify that this method resets all attributes not passed in
data
are reset to defaults.
Also, passing a plain title string asdata
is deprecated: usesetTitle()
instead.- Add method
updateEntry(cmd, data)
.
Example:updateEntry("info", {title: "Show info...", enable: false})
UnlikesetEntry()
, this method only updates menu attibutes that are
passed indata
, leaving other attributes intact. - Add methods
getEntry()
,getEntryWrapper()
,setIcon
,setTitle
(in addition to the existingenableEntry
andshowEntry
).
v1.17.0
v1.16.0
v1.15.0
v1.14.0
- #108: Update AMD dependency to be compatible with the jQuery 1.12 layout:
"jquery-ui/ui/widgets/menu"
NOTE: this is not backwards compatible with jQuery 1.11 and before:
http://jqueryui.com/upgrade-guide/1.12/#official-package-on-npm - Commit details.