ember-window-resize
v2.0.0
Published
Ember service to detect window resize events in your application
Downloads
6
Readme
Ember service to detect window resize events in your application
Installation
In your application's directory
ember install ember-window-resize
Example usage
import Ember from 'ember';
export default Ember.Component.extend({
windowResize: inject.service(),
didInsertElement() {
this.get('windowResize').on('didResize', () => {
// Do some resizing magic
});
}
});