JavaScript contextmenu

The jSuites.contextmenu is a simple javascript contextmenu that helps to provide a custom right click contextmenu over HTML elements in a web-based application.

  • React, Angular, Vue compatible;
  • Mobile friendly;
  • Several events and easy integration;
  • JS plugin or web component;


Contextmenu as a webcomponent

<script src=""></script>
<script src=""></script>
<link rel="stylesheet" href="" type="text/css" />

<i>right click inside the square to open the contextmenu</i>
<jsuites-contextmenu id='contextmenu-webcomponent'>
    <div onclick="alert('About is clicked')"><a>About</a> <span>CTRL+A</span></div>
    <div onclick="'')">Go to Jspreadsheet Pro website</div>
    <div data-icon="save">Save</div>
        <div class="jcontextmenu" tabindex="900">
            <div><a>Sub menu 1</a><span>Ctrl + X</span></div>
<div aria-contextmenu-id="contextmenu-webcomponent"
    style="border:1px solid gray;width:400px;height:300px;"></div>

More examples