swiper-wrapper
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

Swiper Wrapper

A super simple Swiper wrapper with extravaganza lazy initialize feature

Install

Simple, just run

npm install swiper-wrapper

Usage

First import swiper-wrapper

import swiperWrapper from 'swiper-wrapper';

P Create a swiper instance and set init to false

const swiper = new Swiper({
    init: false,
    ...more options
})

And then just wrap your instance with the wrapper

swiperWrapper(swiper, {})

Package Sidebar

Install

npm i swiper-wrapper

Weekly Downloads

1

Version

2.0.1

License

MIT

Unpacked Size

10.6 kB

Total Files

7

Last publish

Collaborators

  • jorenrothman