# Vue.resize [](https://github.com/David-Desmaisons/Vue.resize/issues?q=is%3Aopen+is%3Aissue) [](https://github.com/David-Desmaisons/Vue.resize/issues?q=is%3Aissue+is%3Aclosed) [](https://www.npmjs.com/package/vue-resize-directive) [](https://www.npmjs.com/package/vue-resize-directive) [](https://vuejs.org/) [](https://github.com/David-Desmaisons/Vue.resize/blob/master/LICENSE) Vue directive to detect HTML resize events based on [CSS Element Queries](https://github.com/marcj/css-element-queries) with debouncing and throttling capacity. ## Demo  ## Typical usage ### Simple Use this option when you need to receive all the resize events. The `onResize` function will be called each time the element resizes with the corresponding HTML element as only argument. ```javascript