0.0.2 • Published 8 years ago

ember-cli-juxtapose v0.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

Ember-CLI Juxtapose

This addon will display a before/after slider using the Juxtapose.js library

##Installation

ember install ember-cli-juxtapose

Basic Usage

At a minimum, you can provide urls for a before image and after image

{{juxtapose-slider beforeImageUrl="https://sample-domain.com/img/before-img.jpg" afterImageUrl="https://sample-domain.com/img/after-img.jpg"}}

You can also display labels with beforeImageLabel and afterImageLabel attributes, and specify image credits with beforeCredit and afterCredit.

Thanks

JuxtaposeJS is one of a series of tools for content creators produced by the Northwestern University Knight Lab. It was created by Medill student Alex Duner.