Added docs to `animateEach`

master
Dmitry Baranovskiy 2014-05-13 00:10:07 +10:00
parent 6d43f667ff
commit 48a5f6ae79
1 changed files with 9 additions and 0 deletions

View File

@ -112,6 +112,15 @@ Snap.plugin(function (Snap, Element, Paper, glob) {
el.animate(attrs, ms, easing, callbacker);
});
};
/*\
* Set.animateEach
[ method ]
**
* Creates multiple animations for each element in the seet. Ensures that they are synced.
*
**
= (function) next element animate function
\*/
setproto.animateEach = function () {
var i = 0,
set = this,