SHARE
TWEET

Untitled

a guest Jun 18th, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $('.entrance-animate').each(function(){
  2.     var e = this,
  3.         $e = $(this);
  4.     $e.addClass('init');
  5.     var w = new Waypoint({
  6.         element: e,
  7.         handler: function(direction) {
  8.             $e.addClass($e.data('animation'));
  9.             w.destroy(); // remove once animated
  10.         },
  11.         offset: '80%',
  12.     });
  13. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top