class2context.js



- github: - Github repo
- install: 'bower install class2context --save'
- referenced in: http://www.cssscript.com/lightweight-context-menu-library-class2context-js/

A

This is a demo
Just need to include the files:

Get started!

Right click over me!
element inside element with diferent class

Use

when html is charged, call the function

Usage

when html is charged, call the function:
class2context(
'className',
"title",
[["option1", "functionoption1()"], ["option 2","functionoption2()"]]
);