An open API service indexing awesome lists of open source software.

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

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/).