chromecontext

0.0.3 • Public • Published

chromeContext

Build Status

Description

Create Chrome-styled context menus (right-click menus) for any element.

Example usage

$('#trigger').chromeContext({
  items: [
    {
      title: 'Hello',
      onclick: function () { console.log('hello.'); }
    },
    { separator: true },
    {
      title: 'World',
      onclick: function () { console.log('world.'); }
    }
  ]
});

Screenshot

chromeContext screenshot

Demo

See the demo directory in the repository or see the online demo.

/chromecontext/

    Package Sidebar

    Install

    npm i chromecontext

    Weekly Downloads

    1

    Version

    0.0.3

    License

    MIT

    Last publish

    Collaborators

    • travishorn