DidScroll hooks
This release deprecates the use of didScroll{Up,Down,Left,Right}
hooks. You should use didScroll(direction)
instead as a hook, like so:
export default Ember.Component.extend(InViewportMixin, {
didScroll(direction) {
console.log(direction); // 'up' || 'down' || 'left' || 'right'
}
});