html5-slider

WebJar for html5-slider

Лицензия

Лицензия

MIT
Категории

Категории

IDE Инструменты разработки Github Контроль версий
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

github-com-abdavid-jslider
Последняя версия

Последняя версия

2.1.3
Дата

Дата

Тип

Тип

jar
Описание

Описание

html5-slider
WebJar for html5-slider
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/abdavid/jslider

Скачать github-com-abdavid-jslider

Как подключить последнюю версию

<!-- 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"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

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

Версии библиотеки

Версия
2.1.3