A click controller for mouse & touch.
- Prevents 300ms delay on touch
- Touch interactions like scrolling work as expected
- Handles devices that have both touch and mouse
- Delegates events for efficiency
npm install onclick
A jQuery-like selector library is required:
- jQuery 1.4.3+
Check out a live example.