Vue.nextTick( callback )
-
Arguments:
{Function} callback
-
Usage:
Defer the callback to be executed after the next DOM update cycle. Use it immediately after you’ve changed some data to wait for the DOM update.
// modify data vm.msg = 'Hello' // DOM not updated yet Vue.nextTick(function () { // DOM updated })
-
See also: Async Update Queue
Please login to continue.