# VResize

Component which provides the calculated width and height to its default scoped slot. This would allow you do update child components based on the actual size of the element, rather than the size of the screen.

Source

# Installation

Globally:

// main.js
import Vue from "vue"
import { VResize } from "vuetensils"

Vue.component("VResize", VResize)

Locally:

<script>
// SomeComponent.vue
import { VResize } from "vuetensils"

export default {
  components: {
    VResize,
  },
  // ...
}
</script>

# Styled Example

Try resizing your browser to see it in action.

Last Updated: 2/3/2020, 1:24:11 AM