Socket
Socket
Sign inDemoInstall

html5-slider

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    html5-slider

Just another slider implementation. Touch friendly.


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Install size
888 kB
Created
Weekly downloads
 

Readme

Source

Notice

This fork of https://github.com/abdavid/jslider is also available on npm: npm install html5-slider OR yarn add html5-slider

jQuery Touch Slider plugin

jQuery Slider is easy to use and multifunctional jQuery plugin. Note: As of v2.0.0 this library has a dependency of Hammer.js

Improvements

  • Ported to Typescript for better codestyle, and improved inheritance.
  • Added grunt task runner for improved and easier build process.

Build process

You need to have grunt installed to do a manual build of this repo. When grunt is installed and available in the project directory you only need to run grunt build which then will spit out four .js files under dist:

  • jquery.slider-bundled.js
  • jquery.slider-bundled.min.js
  • jquery.slider-standalone.js
  • jquery.slider-standalone.min.js

Tips & Tricks

Since the original implementation has been improved to properly support touch screens, Hammer.js was the library of choise to do this. While doing tests on this on Windows 8.1 machines and tablets it has been suggested that adding

.slider {
          -ms-touch-action: none;
      }

to your stylesheet is necessary to prevent IE from navigating back or forth in history when interacting with touch enabled elements on your project.

License

MIT License

Keywords

FAQs

Last updated on 25 Oct 2017

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