Socket
Socket
Sign inDemoInstall

@abasb75/swiperjs

Package Overview
Dependencies
1
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @abasb75/swiperjs

Most modern mobile touch slider and framework with hardware accelerated transitions


Version published
Weekly downloads
2
increased by100%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

@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

Keywords

FAQs

Last updated on 09 Apr 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc