npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

swiper-custom-slide

v1.1.16

Published

This is a cuatom script for the swiper slider

Downloads

11

Readme

This is a custom swiper and still under beta.

Follow the codepen example - https://codepen.io/Beligammans/pen/vYXWyVO?editors=1010

Requered

  1. Use "custom-swiper-slide" class to enable the swiper
  2. Add data attribute as "data-name" and use unique names for each sliders, when you use the more swiper sliden on one page.
  3. Definde class name as "hide" and , use display none there.
  4. The "option" dev must me place according to the custom layout.

optional

  1. "data-slides-per-view" --- default value is 1 and you can change this as you wanted.
  2. "data-slides-per-tablet" --- if you want to change the slide per view for the tablet(less 1120), you can use this.
  3. "data-slides-per-tablet-portrait" --- if you want to change the slide per view for the tablet(less 1024), you can use this.
  4. "data-slides-per-mobile" --- if you want to change the slide per view for the mobile(less 768), you can use this.
  5. "data-slide-effect" --- if you want to change the animation, you can use this and the by default the slide option is "slide" (you can find the other animations from swiper official site)..
  6. data-slide-autoplay" --- if you want to enable the auto play, you can use this and set the data value as "true"
    1. if you want the play pause button use the "toggle-play" class div inside the "option" dev.
  7. "data-device" --- if you want to enable the swiper as device wise, you can use this and by default this is apply for the all resalutions.
    1. if want to enable enable swiper for less than 1121 responsive, use the value as "tablet,mobile"
    2. if want to enable enable swiper for less than 7687 responsive, use the value as "mobile"
  8. "data-speed" --- you can use this attruibute to change the slideing speed.
  9. "data-delay" --- you can use this attruibute to change the delay speed.
  10. "data-parallax" --- if you want to enable the parallax, you can use this and set the data value as "true"
  11. if you want to enable a separated play pause button click event, use the "separate-toggle" class on the "controller" dev tag.
  12. "data-slides-per-group" you can change the group option and this is by default 1.
  13. "data-loop-fill-group-with-blank" you can change the group type and by default this is false.
  14. "data-stop-focus="true" you can stop the autoplay, when the keyboard navigation.