0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-01-20 22:52:46 -05:00
verdaccio/node_modules/onclick/examples/example.js
2014-09-14 18:28:17 +04:00

11 lines
196 B
JavaScript

var click = require("../src/onClick.js");
click({
'#element': function(e) {
alert("You clicked!");
}
});
click('.elementSet', function(e) {
alert("You clicked the set");
});