Vue.js · Function
nextTick
Vue's nextTick waits for pending DOM updates after reactive state changes. Use it when code needs to work with the updated DOM.
Last updated
Syntax
function nextTick(callback?: () => void): Promise<void>In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
this.$nextTick()