Legitcode/context-menu

Name: context-menu

Owner: Legitcode

Description: Replace the native right-click context menu with your own info

Created: 2015-09-09 01:57:50.0

Updated: 2016-10-20 19:17:02.0

Pushed: 2015-09-09 02:23:32.0

Homepage: http://legitcode.github.io/context-menu

Size: 664

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Context menu

This is a react component for overwriting right-clicks in the browser and displaying your own custom menu.

Install

npm install legit-context-menu

Example

Take a look at the real example first

rt ContextMenu from 'legit-context-menu';

textMenu node={document.querySelector('h3')}>
<p>this will show when you right-click anywhere on the page</p>
ntextMenu>
Props

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.