Browse documentation

v-update

Concept. Runs a callback after later element patches.

Table of contents

Category

Concept

Public signature

ts
JSX directive: <element v-update={(vnode, oldProps) => { /* after patch */ }} />

Runtime behavior

v-update runs after later patches and receives the current VnodeWithDom plus its previous properties.