The v-resize directive can be used for calling specific functions when the window resizes.

Usage

Resize your window and observe the values change..

API

v-resize
Edit this page | language on Github