ember-cli-backstretch

Ember component for jQuery Backstretch.

Usage no npm install needed!

<script type="module">
  import emberCliBackstretch from 'https://cdn.skypack.dev/ember-cli-backstretch';
</script>

README

Ember CLI Backstretch

Simple Ember component wrapping Scott Robbin's jQuery Backstretch plugin.

Installation

This plugin can be installed using Ember CLI's built-in addon install tool:

ember install ember-cli-backstretch

Usage

In any template, wrap the content with jquery-backstretch and pass in an array of images and (optionally) a configuration hash.

{{#jquery-backstretch images=backstretchImages config=backstretchConfig}}
  <h2>Welcome to Ember</h2>
{{/jquery-backstretch}}

For configuration options, see the original readme.

Contributing

You miss any feature from jQuery Backstretch? Feel free to send me a pull request!