yo(selector).on(event, fn)
Attach an event to the selector
yo('.myclass').on('click', function (e) {
console.log('Clicked');
});
Go to index
Attach an event to the selector
yo('.myclass').on('click', function (e) {
console.log('Clicked');
});
Go to index
From here you can search these documents. Enter your search terms below.
Keys | Action |
---|---|
? | Open this help |
← | Previous page |
→ | Next page |
s | Search |