New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

htmlelement-contextmenu

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

htmlelement-contextmenu

make a contextmenu on a html element

  • 0.8.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

FAQs

Package last updated on 27 Oct 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc