Use ResizeObserver
through an Ember Modifier
- Ember.js v3.12 or above
- Ember CLI v2.13 or above
- Node.js v10 or above
ember install ember-resize-observer-modifier
This addon provides an Ember modifier for attaching a ResizeObserver
to an element in your Ember template and calling an action when the observer fires.
In the following example, this.onChange
will be called any time that the element changes size.
See the Contributing guide for details.
This project is licensed under the MIT License.