An open API service indexing awesome lists of open source software.

https://github.com/fetch/jquery.alldone

jQuery plugin to bind events on multiple elements and execute a callback when every element has triggered one of the supplied events
https://github.com/fetch/jquery.alldone

Last synced: 9 months ago
JSON representation

jQuery plugin to bind events on multiple elements and execute a callback when every element has triggered one of the supplied events

Awesome Lists containing this project

README

          

jQuery.alldone
==============

jQuery plugin to bind events on multiple elements and execute a callback when every element has triggered one of the supplied events.

**Usage:**

```javascript
$('div[data-video],div[data-tweet]').allDone('video:loaded tweet:loaded', function(){
// Reposition DOM elements for example
});
```