Add a utility to observe element size changes
Add a utility for use by a new implementation of the `<excerpt>` component which observes changes in the size of the DOM output directly. This uses `ResizeObserver` where available with a fallback to `MutationObserver` + selected window events in other browsers.
Showing
Please register or sign in to comment