![]() That means the described behavior (once created, cannot be altered) still applies - but can be circumvented. This allows en/disabling commands, changing icons or updating the values of contained elements.Īs of version 1.5 context menus can be created dynamically. contextMenu knows the two callbacks show and hide which can be used to update the state of commands within the menu. This allows contextMenu to keep a single definition in memory, which enables it to work with hundreds of trigger objects. That means no commands can be added or removed from the menu. Once a menu is registered, it cannot be altered. This makes very simple attribute modification possible. This allows injecting and removing triggers without having to re-initialize or update contextMenu.ĬontextMenu can provide a simple list of clickable commands, or offer an in-menu form. Unlike the mentioned plugins, contextMenu doesn't need to bind itself to triggering objects. That means, that a single menu is defined that can be used by multiple objects. ![]() Unlike implementations as a beautiful site's or trendskitchens' this contextMenu treats the menu as the primary object. ![]() The contextMenu Plugin was designed for web applications in need of menus on a possibly large amount of objects. Fork on GitHub jQuery contextMenu Contextmenu plugin & polyfill
0 Comments
Leave a Reply. |