'resizer' event mixin for Vue.js