0.1.3 • Published 9 years ago
ember-reload-gif v0.1.3
Ember-reload-gif
When a gif has an animation, the image will be cached by the browser, when you render the image again (example after redirection of a page),
the animation will be considered as already played.
Therefore, the animation will not be played again.
Example:

This plugin provides a helper that reloads gifs whenever you render them.
For an example, follow the installation steps and run the project locally.
Installation
ember-reload-gif is an ember-cli addon. You can install it via:
ember install ember-reload-gif
Documentation
Here is a simple example how to use the helper:
{{reload-gif src='/images/thumb_negative.gif' srcset="/images/thumb_negative.gif 1x, /images/thumb_negative_@2x.gif 2x" alt="thumb-positive" width="700" class="my-gif"}}Addon Maintenance
Installation
git clonethis repositorynpm installbower install
Running
ember server- Visit your app at http://localhost:4200.
Running Tests
npm test(Runsember try:eachto test your addon against multiple Ember versions)ember testember test --server
Building
ember build
For more information on using ember-cli, visit http://ember-cli.com/.