jquery - List of valid Backbone.js DOM events -
i'm reading backbone.js code example , thought of event listener breakpoints(image include) in chrome dev tools. right event listener values in chrome dev tools ones can write in events property of code?
for example:
events: { 'dblclick label': 'edit', 'keypress .edit': 'updateonenter', 'blur .edit': 'close', 'domactivate .someclass': 'activatedom', // saw in dom mutation 'webgl error fired .anotherclass': 'firewebglerror' // saw in webgl }
if not, can find list of valid events can put?
backbone uses jquery event delegation when jquery available, else 1 of few similar libraries (which haven't used) can used in place of jquery. should supporting events browser & dom manipulation library of choice supports.
if chrome supports specific event, should able listen it, , code work in chrome not in other browsers expected.
as far know, backbone doesn't limit dom events can listen to.
you can find list of standard events @ mdn
Comments
Post a Comment