-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added dist/ and directories. Created a separate module for the carousel directive called rrCarousel.
- Loading branch information
1 parent
87fb4c0
commit 46aaf19
Showing
44 changed files
with
34,660 additions
and
659 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
node_modules/ | ||
bower_components/ | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2016 Raphael Rafatpanah | ||
|
||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# Angular 3D Carousel | ||
|
||
Angular is the only dependency (no jQuery). | ||
|
||
## Example | ||
|
||
Check out the [live demo](https://persianturtle.github.io/angular-3d-carousel/) or the [source code](https://github.com/persianturtle/angular-3d-carousel/blob/master/index.html). | ||
|
||
## Usage | ||
|
||
Include both the CSS and the JS files, | ||
```html | ||
<link rel="stylesheet" href="path/to/angular-3d-carousel.css"> | ||
``` | ||
|
||
```html | ||
<script src="path/to/angular-3d-carousel.js"></script> | ||
``` | ||
|
||
and add the `angular-3d-carousel` as a dependency. | ||
|
||
```js | ||
angular.module('app', ['angular-3d-carousel']); | ||
``` | ||
|
||
Then use the `<carousel sides="sides"></carousel>` directive where you would like to use it. | ||
|
||
Note: The `sides` attribute expects an array of objects. Currently, the each object should have the following properties: | ||
- image (path to image) | ||
- title (string) | ||
- listItems (array of strings) | ||
|
||
Change the template for your project's needs. | ||
|
||
## Features | ||
- Will always land exactly on one side. | ||
- Uses `requestAnimationFrame` for a smooth animation. | ||
- Dynamically add or remove sides. | ||
|
||
## TODO | ||
- Add unit tests. | ||
- Add an API for accelerating and decelerating the carousel. | ||
- Add keyboard events. | ||
|
||
## License | ||
|
||
Copyright (c) 2016 Raphael Rafatpanah | ||
|
||
(The MIT License) | ||
|
||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"name": "angular-touch", | ||
"version": "1.5.8", | ||
"license": "MIT", | ||
"main": "./angular-touch.js", | ||
"ignore": [], | ||
"dependencies": { | ||
"angular": "1.5.8" | ||
}, | ||
"homepage": "https://github.com/angular/bower-angular-touch", | ||
"_release": "1.5.8", | ||
"_resolution": { | ||
"type": "version", | ||
"tag": "v1.5.8", | ||
"commit": "303bfa9e400b2536dbc9e9fe781b31c2cab34665" | ||
}, | ||
"_source": "https://github.com/angular/bower-angular-touch.git", | ||
"_target": "~1.5.8", | ||
"_originalSource": "angular-touch" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2016 Angular | ||
|
||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
# packaged angular-touch | ||
|
||
This repo is for distribution on `npm` and `bower`. The source for this module is in the | ||
[main AngularJS repo](https://github.com/angular/angular.js/tree/master/src/ngTouch). | ||
Please file issues and pull requests against that repo. | ||
|
||
## Install | ||
|
||
You can install this package either with `npm` or with `bower`. | ||
|
||
### npm | ||
|
||
```shell | ||
npm install angular-touch | ||
``` | ||
|
||
Then add `ngTouch` as a dependency for your app: | ||
|
||
```javascript | ||
angular.module('myApp', [require('angular-touch')]); | ||
``` | ||
|
||
### bower | ||
|
||
```shell | ||
bower install angular-touch | ||
``` | ||
|
||
Add a `<script>` to your `index.html`: | ||
|
||
```html | ||
<script src="/bower_components/angular-touch/angular-touch.js"></script> | ||
``` | ||
|
||
Then add `ngTouch` as a dependency for your app: | ||
|
||
```javascript | ||
angular.module('myApp', ['ngTouch']); | ||
``` | ||
|
||
## Documentation | ||
|
||
Documentation is available on the | ||
[AngularJS docs site](http://docs.angularjs.org/api/ngTouch). | ||
|
||
## License | ||
|
||
The MIT License | ||
|
||
Copyright (c) 2010-2015 Google, Inc. http://angularjs.org | ||
|
||
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. |
Oops, something went wrong.