Fork on GitHub

Demo: Context Menu on DOM Element

  • right click me 1
  • right click me 2
  • right click me 3
  • right click me 4

Example code

Example HTML

<ul id="the-node">
    <li><span class="context-menu-one btn btn-neutral">right click me 1</span></li>
    <li><span class="context-menu-one btn btn-neutral">right click me 2</span></li>
    <li>right click me 3</li>
    <li>right click me 4</li>
</ul>