🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

contextMenu.js is a plugin to create windows like context menu with keyboard interaction, different type of inputs ,trigger events and much more.Features:Use as simple popup or as a context menu. With some twick can be used for multi purpose.Adjust position and size to fit in viewport.Keyboard interaction.Support different type of inputs (json, UL list).Trigger Context menu with right-click, left-click,hover or any other mouse events.Css outside of javascript so you can edit the look of menu.Enable/disable options.Optional icons for commands.Lot of configurable options.Submenus

Menus Plugins

Documentation

Notice

This is a legacy module and I am not maintining this repo currently. So only new PRs are accepeted.

contextMenu.js

contextMenu.js is a plugin to create windows like context menu with keyboard interaction, different type of inputs ,trigger events and much more.
Why contextMenu.js ?:

  • Use as simple popup or as a context menu. With some tweaking, it can be used for multiple purposes.
  • Adjust position and size to fit in viewport.
  • Keyboard interaction.
  • Support for different types of inputs (structure object, UL list) .
  • Trigger Context menu with right-click, left-click,hover or any other mouse events.
  • Support touch devices.
  • Css outside of javascript so you can edit the look of menu.
  • Enable/disable options.
  • Optional icons for commands.
  • Lot of configurable options.
  • Submenus
See demo and documentation on http://ignitersworld.com/lab/contextMenu.html

Major Updates

1.4.0

  1. Added support for touch devices. (Make sure to update css file too)
  2. Removed sizeStyle option and forced menu to take height of inner content. With size style auto lot of issue with different devices were coming.

1.2.0

  1. Added a "closeOnClick" option to close contentext menu on click of any item.
  2. Added a className key when generating context menu through object to give style on specific item of menu.
  3. Fixed keybord event.

You May Also Like