Ember-Resize-Modifier

This addon provides a did-resize modifier for detecting resize events on the element or component it's attached to. These events could include window resizing CSS changes, content updates, and more!

Installation

ember install ember-resize-modifier

Browser Support

Our features are supported in the latest versions of every browser except IE 11. The previous version of Safari (13), also does not support this feature, but it's supported in 13.1. MDN actually lists ResizeObserverEntry as unsupported by Safari altogether, but this is incorrect and we have logged an issue with MDN to fix their data. We have tested this in the latest Safari and confirmed that it in fact works as expected.

In browsers where ResizeObserver is not supported, this modifier becomes a no-op. It will not error, nor will it employ a fallback. Features built with this addon will simply gracefully not respond to resize events.

Powered By Netlify