Closed cedeber closed 7 years ago
Yes, this is definitely something I'd like to do! Apologies for dropping off the grid for a bit here, I've been incredibly swamped with side work. I promise I'll get around to this! :)
This is now possible as of v2.0.5! While I was at it I added support for multiple DOM elements (jQuery or querySelectorAll arrays) - figured I might as well not make people add another for loop, since I'm already doing it :)
You can check the added code here if you're curious.
Hello. Now it's perfect! Thank you.
As
objectFitPolyfill
is already declared onwindow
, I think that to add a parameter to it would be usefull so that we can use it with lazy loading images.Something like this works well:
What do you think about that?