Resize

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.

Styled Example

Try resizing your browser to see it in action.

Custom wrapper tag

By default, the component uses a div element. You can the tag prop to change it to whatever you like.