All Versions
83
Latest Version
Avg Release Cycle
82 days
Latest Release
1834 days ago

Changelog History
Page 1

  • v3.0.0 Changes

    March 16, 2018

    ๐Ÿ›  Fixed

    • ๐Ÿ›  The contextmenu now checks visible on items once instead of twice. Fixes issue 612.
    • ๐Ÿ›  Font awesome li height is now consistent again. Fixes issue Fixes issue 612.
  • v3.0.0-beta.2 Changes

    March 16, 2018

    ๐Ÿ›  Fixed

    • ๐Ÿ›  The contextmenu now checks visible on items once instead of twice. Fixes issue 612.
    • ๐Ÿ›  Font awesome li height is now consistent again. Fixes issue Fixes issue 612.
  • v3.0.0-beta.1 Changes

    December 30, 2017

    Migrating

    • ๐Ÿ— To migrate, you only need to change all callback functions to the new arguments (icon, build, visible, disabled, item callback and global item callback). Also if you listen to contextmenu 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 and root arguments are now described as currentMenuData and rootMenuData, 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 with function(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.
  • v2.9.2 Changes

    May 13, 2020
    • ๐Ÿ›  Fix reflow when adding click layer to page (fixed #721, thanks @Rhain)
  • v2.9.1 Changes

    May 06, 2020

    2.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, 2019

    2.9.0

    โž• Added

    • โž• Added dataAttr option to add arbitrary data attributes to menu items.

    ๐Ÿ”„ Changed

    • โšก๏ธ Updated dev dependencies.
  • v2.8.1 Changes

    October 05, 2019

    ๐Ÿ›  Fixed

    • โž• Added FontAwesome fab class to known classes.

    ๐Ÿ“š Documentation

    • ๐Ÿ“š Updated documentation for callback (thanks @arashdalir)
  • v2.8.0 Changes

    January 16, 2019

    โž• Added

    • โž• Added support for events.preShow so you can enable default browser menu if needed (thanks @terwarf)
  • v2.7.1 Changes

    October 02, 2018

    ๐Ÿ›  Fixed

  • 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