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
Vuetify 3 is now available!The latest version of Vuetify is now available!
Learn about Vuetify 3's new features and functionality for modern Vue applications
Start exploringExplore