BlogPlaygroundOne

Resize directive

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

Edit this page
Copy Page as Markdown

Usage

Resize your window and observe the values change…

Window Size
{ "x": 1440, "y": 786 }

API

DirectiveDescription
v-resizeThe resize directive
Toggle Inline API

Ready for more?

Continue your learning with related content selected by the Team or move between pages by using the navigation links below.