https://github.com/gilbox/kinetic-slider
Kinetic Slider for AngularJS
https://github.com/gilbox/kinetic-slider
Last synced: 11 months ago
JSON representation
Kinetic Slider for AngularJS
- Host: GitHub
- URL: https://github.com/gilbox/kinetic-slider
- Owner: gilbox
- License: mit
- Created: 2014-03-05T02:28:30.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-09-30T04:49:21.000Z (almost 12 years ago)
- Last Synced: 2025-08-13T10:42:50.693Z (12 months ago)
- Language: CoffeeScript
- Size: 860 KB
- Stars: 11
- Watchers: 1
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
**Note:** **This project is no longer being maintained**. If you're interested in this project, you should really look at my fork [infinite-slider](https://github.com/gilbox/infinite-slider). It has many more features and has undergone significant QA testing.
kinetic-slider
==============
If you'd like to contribute to this project, PRs are appreciated.
#How do I add this to my project?
You can download this by:
* Using bower and running `bower install kinetic-slider`
* Downloading [the zip file](https://github.com/gilbox/kinetic-slider/archive/master.zip)
#Dependencies
kinetic-slider depends on Angular, [angular-mousewheel](https://github.com/monospaced/angular-mousewheel), and [hamsterjs](https://github.com/monospaced/hamster.js).
# Getting Started
You need the following script tags:
````html
````
Add kinetic-slider as a dependency to your app:
````javascript
angular.module('myApp', ['gilbox.kineticSlider']);
````
Note that in your HTML you may optionally provide the content-width,
otherwise it will be calculated automatically as shown here:
````html
````
Some minimal styling is required:
````css
.kinetic-slider-container {
position: relative;
z-index: 1;
width: 100%;
height: 400px;
overflow: hidden;
}
.kinetic-slider-content {
position: absolute;
z-index: 1; // note: make sure you set a z-index
width: 100%;
height: 400px;
}
````
# Demo
Check out [the demo](http://gilbox.github.io/kinetic-slider/)
# License
The MIT License
Copyright (c) 2013 Gil Birman http://gilbox.me/
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.