0.0.3 • Published 9 years ago

chromecontext v0.0.3

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

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.