ember-reset-scroll
v0.1.1 ember-addon ember ember-cli imgix kellysutton
ember-reset-scroll
A very simple mixin to componentize the code found in this cookbook. Not the most useful thing at the moment, but ensures that should this pattern ever change, updating the mixin will solve the issue.
Installation
$ ember install ember-reset-scroll
Usage
// In a route file
import ResetScroll from 'ember-reset-scroll/mixins/reset-scroll';
export default Ember.Route.extend(ResetScroll, {
// The rest of your route.
});