Touch slider - is a touch slider with hardware accelerated transitions. It is intended to be used in websites.
Add repo of this project to 'dependencies' in package.json of your project.
// package.json
"dependencies": {
...
"touch-slider": "git+https://github.com/McMerph/touch-slider.git",
...
}
Install library via npm i
If you want to be up-to-date you should edit package.json of your project like this (npm issue)
// package.json
"scripts": {
...
"postinstall": "npm update && npm install git+https://github.com/McMerph/touch-slider.git",
...
}
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
You need to install node.js and npm
Download Node.js and npm - pre-built installer
Install required packages from npm
npm i
To run demo
npm run demo
To build
npm run build
- Node.js - JavaScript runtime
- TypeScript - Typed superset of JavaScript that compiles to plain JavaScript
- WebPack - Module Bundler