The edgeY and other options to extend Lazy Load XT (outlined here) aren’t fully available yet for the WordPress plugin. I’m still working on implementing, and hope to have them available in a future release. For the time being, you will need to add the javascript to extend it yourself.
I’m not sure what you mean about animate.css. Can you explain more?
Thread Starter
Kirael
(@kirael)
I’d like to use one of the animation included in anime.css ( http://daneden.github.io/animate.css/).
As written in the lazy-load-xt manual :
“It’s possible to use a lot of animation effects (like bounce, flip, rotate, etc.) from animate.css project by altering $.lazyLoadXT.onload.addClass option:
<link rel=”stylesheet” href=”animate.min.css”>
/* JS */
$.lazyLoadXT.onload.addClass = ‘animated bounceOutLeft’;”
(For the extend options, i have to create a new .js is that right ?)
Yeah, you can probably add that to your theme’s main js file, create a new js file and load it, or just add it inline. I’m not sure if it needs to be in $(document).ready(); or not. You can play around with it and see. You should be able to add that and the code for edgeY in the same place, though.
Let me know if you find a working solution.