htmlelement-contextmenu

0.8.3 • Public • Published

htmlelement-contextmenu

The lastest version of this document is available on Github > htmlelement-contextmenu

Introduction

this class is used to create a context menu accessible by right-clicking on an html element.

  • characteristics
    • The menu can be controlled with the keyboard.
    • The API allows to dynamically add / remove / activate / deactivate menu items
    • Add an icon or/and keyboard shortcut to each menu item
    • The menu design can be easily modified via the css
    • Several contextual menus can coexist on the same web page.
    • work on IE11, Firefox & Chrome

Installation

npm install htmlelement-contextmenu --save

or

yarn add htmlelement-contextmenu --save

prerequisites for browser

<script src="node_modules/htmlelement-contextmenu/distrib/htmlelement-contextmenu.min.js"></script>

API & Demo

Package Sidebar

Install

npm i htmlelement-contextmenu

Weekly Downloads

2

Version

0.8.3

License

MIT

Unpacked Size

14.5 kB

Total Files

6

Last publish

Collaborators

  • sylvain59