Skip to content

Commit 93b11eb

Browse files
committed
update README
1 parent 9358cdf commit 93b11eb

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,11 @@ var wow = new WOW(
6666
animateClass: 'animated', // animation css class (default is animated)
6767
offset: 0, // distance to the element when triggering the animation (default is 0)
6868
mobile: true, // trigger animations on mobile devices (default is true)
69-
live: true // act on asynchronously loaded content (default is true)
69+
live: true, // act on asynchronously loaded content (default is true)
70+
callback: function(box) {
71+
// the callback is fired every time an animation is started
72+
// the argument that is passed in is the DOM node being animated
73+
}
7074
}
7175
);
7276
wow.init();

0 commit comments

Comments
 (0)