v-resize-observer

binds a ResizeObserver on the DOM element, using a polyfill when not natively supported.

<div v-resize-observer="functionToCall"></div>