ganlanyuan / tiny-slider

Vanilla javascript slider for all purposes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature] LazyLoadEager - preloading X images "in advance"

VPValter opened this issue · comments

Hello

I just switched to Tiny from Owl after years of using it because it's deprecated, but I'm starting to notice things that Owl had that seem to be missing here.

Is it possible to implement the LazyLoadEager feature?

Eagerly pre-loads images to the right (and left when loop is enabled) based on how many items you want to preload.

I don't know if switching to this plugin now is a good idea, it's not really supported by the creator any more.
although i do still use it sometimes i must admit.

I don't know if switching to this plugin now is a good idea, it's not really supported by the creator any more. although i do still use it sometimes i must admit.

Ah, too bad... Well if that's the case, I might as well go back to Owl...

I'm personally starting to use Swiper, although the full bundle is quite large...
https://github.com/nolimits4web/swiper

And then for simple applications I use this, but its technically not a slider, just souped-up horizontal scrolling...
https://github.com/NickPiscitelli/Glider.js

someone already made a pr for it if it helps: #419