https://github.com/jasonmit/simple-carousel
A tiny implementation of a carousel in Ember
https://github.com/jasonmit/simple-carousel
Last synced: about 2 months ago
JSON representation
A tiny implementation of a carousel in Ember
- Host: GitHub
- URL: https://github.com/jasonmit/simple-carousel
- Owner: jasonmit
- License: mit
- Created: 2016-02-16T02:41:31.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-17T09:37:48.000Z (over 9 years ago)
- Last Synced: 2024-10-20T00:02:35.451Z (7 months ago)
- Language: JavaScript
- Size: 32.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# X-carousel
<3 PLEASE DO NOT USE <3
```hbs
{{#x-carousel on-change=(action 'onCarouselChanged') autoplay=false as |carousel|}}
{{#carousel.slides as |slides|}}
{{#slides.slide class="one"}}
{{/slides.slide}}{{slides.slide class="two"}}
{{slides.slide class="three"}}
{{/carousel.slides}}{{carousel.dots arrows=true}}
{{/x-carousel}}
```## TODO
* adaptive height
* multiple items
* animation support
* tests
* docs
* dot/arrow click action
* Pass metadata of the slide `date-*` attributes`## Installation
* `git clone` this repository
* `npm install`
* `bower install`## Running
* `ember server`
* Visit your app at http://localhost:4200.## Running Tests
* `npm test` (Runs `ember try:testall` to test your addon against multiple Ember versions)
* `ember test`
* `ember test --server`## Building
* `ember build`
For more information on using ember-cli, visit [http://www.ember-cli.com/](http://www.ember-cli.com/).