Live data from Hacker News

Show HN: Tiny-Swiper – 2kb alternative to SwiperJS with the same modern API

github.com

1–5 of 5 posts

Re: Show HN: Tiny-Swiper – 2kb alternative to SwiperJS with the same modern API

#5
post #4

If this is much smaller than the original library, does it exclude any features? or have different compatibility?

It keeps the most important configuration and methods, does not include components. And, there is a quit bit different in interactive mode. Slides could be paused while touch-start, etc. The challenge for me is that I have to make a trade-off between package size and API richness. We will deviation from purpose if it is too large, it will be useless if lack of important APIs, either.(I'm trying to keep it to be smaller that 3kb, it's so hard ... )