Resize directive

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
Name
modifiers.quiet
Default
false
Type
Boolean

v-resize.quiet="callback" Will not automatically invoke the provided callback on bind.

Name
value
Signature
undefined
Type
Function

v-resize="callback" The function to invoke on window resize

Edit this page | language on Github