html5-slider

WebJar for html5-slider

License

License

MIT
Categories

Categories

IDE Development Tools Github Version Controls
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

github-com-abdavid-jslider
Last Version

Last Version

2.1.3
Release Date

Release Date

Type

Type

jar
Description

Description

html5-slider
WebJar for html5-slider
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/abdavid/jslider

Download github-com-abdavid-jslider

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/github-com-abdavid-jslider/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>github-com-abdavid-jslider</artifactId>
    <version>2.1.3</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/github-com-abdavid-jslider/
implementation 'org.webjars.npm:github-com-abdavid-jslider:2.1.3'
// https://jarcasting.com/artifacts/org.webjars.npm/github-com-abdavid-jslider/
implementation ("org.webjars.npm:github-com-abdavid-jslider:2.1.3")
'org.webjars.npm:github-com-abdavid-jslider:jar:2.1.3'
<dependency org="org.webjars.npm" name="github-com-abdavid-jslider" rev="2.1.3">
  <artifact name="github-com-abdavid-jslider" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='github-com-abdavid-jslider', version='2.1.3')
)
libraryDependencies += "org.webjars.npm" % "github-com-abdavid-jslider" % "2.1.3"
[org.webjars.npm/github-com-abdavid-jslider "2.1.3"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

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

Versions

Version
2.1.3