@abasb75/swiperjs
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

@abasb5/swiperjs :

this is a fork from : Swiper Js

Note :this repository just worked for ReactJs

You can read swiperjs documentation here

What is the diffirence?

@abasb75/swiperjs react js paginate

in swiperjs slidesPerView='auto' props causes the class to not be activated for the last slides. @abasb7/swiper solves this problem with passing activeLastSlideClass={true} as a props!

import {Swiper,SwiperSlide} from '@abasb75/swiperjs/react';

<Swiper
  activeLastSlideClass={true}
  ....
 >
   <SwiperSlide>Slide 1</SwiperSlide>
   <SwiperSlide>Slide 2</SwiperSlide>
   ...
</Swiper>

Note: whitout activeLastSlideClass={true} props , there are no diffirence with th original swiperjs

for use in the react projec:

npm i @abasb75/swiperjs

Package Sidebar

Install

npm i @abasb75/swiperjs

Homepage

swiperjs.com

Weekly Downloads

1

Version

0.0.3

License

MIT

Unpacked Size

5.24 MB

Total Files

277

Last publish

Collaborators

  • abasb75