https://github.com/ccampbell/gator
Event delegation in Javascript
https://github.com/ccampbell/gator
event-delegation events javascript
Last synced: 10 months ago
JSON representation
Event delegation in Javascript
- Host: GitHub
- URL: https://github.com/ccampbell/gator
- Owner: ccampbell
- Created: 2012-11-28T16:49:21.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2017-12-12T22:16:01.000Z (about 8 years ago)
- Last Synced: 2025-03-28T13:05:00.129Z (10 months ago)
- Topics: event-delegation, events, javascript
- Language: JavaScript
- Homepage: http://craig.is/riding/gators
- Size: 263 KB
- Stars: 494
- Watchers: 11
- Forks: 46
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gator
Gator is a Javascript event delegation library.
It is around **800** bytes when gzipped and minified and has no external dependencies.
## Browser Support
Out of the box Gator works in
- Chrome
- Safari 5+
- Firefox 3.6+
- Internet Explorer 9+
The ``legacy.js`` plugin adds support for
- Safari < 5
- Firefox < 3.6
- Internet Explorer 6, 7, 8
*When using the legacy plugin only single classes, single ids, and single tag names are supported for selectors*
## Getting Started
1. Include gator on your page before the closing ``