Releases: ibnsultan/contextMenu
Releases · ibnsultan/contextMenu
Oh Wow!
Version 0.1.3
Release Date: 15 Oct 2024
New Features
- Added touch support for triggering context menus with long-press actions.
- Implemented dynamic positioning to prevent context menus from overflowing the viewport.
- Introduced data binding capabilities to attach specific data to menu items via
data-cm-bind
. - Added support for custom callback functions that execute on menu item clicks, allowing for dynamic interactions.
Improvements
- Enhanced the overall user experience with better event handling and menu interactions.
- Improved styling options for better customization of the context menu appearance.
Usage Enhancements
- Detailed the usage examples, including multiple context menu triggers.
- Expanded documentation on how to customize styles and functionalities.
Bug Fixes
- Resolved issues related to menu positioning on edge cases and overflow scenarios.
Hello World
Version 0.0.1
Release Date: 14 Oct 2024
Features
- Initial release of the ContextMenu Library.
- Basic support for desktop right-click context menus.
- Included a simple HTML structure for context menu integration.
- Added basic styling for the context menu.
Installation
- Available via jsDelivr CDN for easy inclusion in projects.
Usage
- Introduced the
.cm-toggle
class for elements that trigger the context menu. - Context menus can be defined using the
.context-menu-dialog
class.