The default blueprint for ember-cli addons.
npm install ember-singularity-mixins

This addon consumes the unified event handling of Ember Singularity
in order to provide easy-to-use and performant mixins for "spammy" events, such
as scrolling, resizing, or touch events.
_Note: If you use this addon, you do not need to include ember-singularity
as a dependency as well._
All mixins can be imported using the following form:
``js`
import
export default Ember.Component.extend(
They also have a function hook that uses the same name as the event which they
handle. In other words, for the scroll-handler mixin it would simply be:
`js`
import ScrollHandler from 'ember-singularity-mixins/mixins/scroll-handler';
export default Ember.Component.extend(ScrollHandler, {
scroll() {
// Do stuff on scroll
},
// Other component properties and methods
});
1. scroll-handlerresize-handler`
2.