All Versions
83
Latest Version
Avg Release Cycle
82 days
Latest Release
1834 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v3.0.0 Changes
March 16, 2018 -
v3.0.0-beta.2 Changes
March 16, 2018 -
v3.0.0-beta.1 Changes
December 30, 2017Migrating
- ๐ To migrate, you only need to change all callback functions to the new arguments (
icon
,build
,visible
,disabled
, itemcallback
and global itemcallback
). Also if you listen tocontextmenu
events, please check if you still get the correct data.
๐ Changed
- ๐ Restructured the code to use Webpack with Babel. Build the code with
yarn run webpack
. - ๐ Changed linting to ESLint.
- ๐ Moved to BrowserStack for browser testing.
- โ Added JSDoc for generated API documentation.
- โ Added 3.x documentation on GitHub pages.
- The previous
opt
androot
arguments are now described ascurrentMenuData
androotMenuData
, which are documented in ContextMenuData. - Defined a few callback types to illustrate the arguments with which they are called.
- ๐ Build callback ContextMenuBuildCallback is now
function(e, $currentTrigger)
. - Icon callback ContextMenuIconCallback is now
function(e, $item, key, item, currentMenuData, rootMenuData)
. - The visibile, disabled, global callback and item callback ContextMenuItemCallback is now
function(e, key, currentMenuData, rootMenuData)
. - If you define custom menu item types in
$.contextMenu.types
they get called as ContextMenuItemTypeCallback withfunction(e, item, currentMenuData, rootMenuData)
. - All events should always include event data containing the ContextMenuData as described in ContextMenuEvent. So if you listen to
contextmenu
events you should always have the data available.
๐ Fixed
- โ Add options argument to events.activates. (Issue #580)
- ๐ Fix support for
$(element).contextMenu('update')
which was broken. - ๐ Fixed bug in checking visibility of items for menu visibility. If a menu item was defined as
{ item: { visible: false } }
it would not stop the menu from showing.
- ๐ To migrate, you only need to change all callback functions to the new arguments (
-
v2.9.2 Changes
May 13, 2020 -
v2.9.1 Changes
May 06, 20202.9.1
- ๐ Fix error when closing the menu by clicking on the page without any element under that click point. (fixes #717)
- โฌ๏ธ Upgrades dependencies
-
v2.9.0 Changes
October 13, 20192.9.0
โ Added
- โ Added
dataAttr
option to add arbitrary data attributes to menu items.
๐ Changed
- โก๏ธ Updated dev dependencies.
- โ Added
-
v2.8.1 Changes
October 05, 2019๐ Fixed
- โ Added FontAwesome
fab
class to known classes.
๐ Documentation
- ๐ Updated documentation for
callback
(thanks @arashdalir)
- โ Added FontAwesome
-
v2.8.0 Changes
January 16, 2019โ Added
- โ Added support for
events.preShow
so you can enable default browser menu if needed (thanks @terwarf)
- โ Added support for
-
v2.7.1 Changes
October 02, 2018๐ Fixed
- A context menu appears outside the screen Under certain conditions (thanks @so-susa)
- No font-awesome icons visible in submenu (Issue #659) thanks @betafritz and @klues
-
v2.7.0 Changes
July 12, 2018๐ Documentation
- โ Add
getting started
to the documentation. - ๐ Fixed typo in documentation which breaks the
callback
demo. - ๐ Fixed typo
promis
=>promise
(Issue #633). - ๐ Fixed arguments for callback option in documentation (Issue #571).
โ Added
- โ Added support for Font Awesome 5 (Issue #593), (Issue #593)
- โ Add