Simple ember-wrapper around Swiper by idangerous.
See the demo for examples and usage-infos.
- Ember.js v3.24 or above
- Ember CLI v3.24 or above
- Node.js v14 or above
ember install ember-cli-swiper
All available Swiper options are supported and can be configured two ways:
As top level attributes:
As a hash of options:
// In controller
Controller.extend({
myOptions: { parallax: true }
});
{{swiper-container options=myOptions}}
All Swiper events are configured as an events
action map like so:
Please note that attribute values will overwrite any conflicting options.
ember test
See the Contributing guide for details.
This project is licensed under the MIT License.