v-cleanup
Concept. Runs cleanup before patch or detach.
Table of contents
Category
Concept
Public signature
tsJSX directive: <element v-cleanup={(vnode) => { /* before patch or detach */ }} />Runtime behavior
v-cleanup runs before a later patch of the vnode and before that vnode detaches.