alexblack / google-fastbutton

Implementation of Google's FastButton javascript and jQuery and XUI.js integration
167 stars 46 forks source link

Extend jQuery Special Event API #1

Closed jschr closed 12 years ago

jschr commented 12 years ago

Extending the Special Event API allows more flexibility when binding to the fastClick event such as namespacing and event delegation.

$('.btn').on('fastClick.namespace', function(){ .. });

$('.parent').on('fastClick', '.btn', function(){ ... });

alexblack commented 12 years ago

Thanks for the pull request. I'm not familiar with the special event API, but it looks reasonable!