Event Handling Functions


/ Published in: JavaScript
Save to your folder(s)

`Events.add(element, type, handler)` adds a handler to an element
`Events.remove(element, type, handler)` removes a handler from an element
`Events.getTarget(event)` or `Events.getOrigin(event)` returns the element from which the event originated

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.