The created hook is called before the vnode's props are applied. This is useful in cases where the directive need to attach event listeners before vnode prop or template listeners, or it intentionally want its DOM mutations to take a lower priority than vnode props.
Adds a new custom directive hook:
created
.The
created
hook is called before the vnode's props are applied. This is useful in cases where the directive need to attach event listeners before vnode prop or template listeners, or it intentionally want its DOM mutations to take a lower priority than vnode props./cc @vuejs/docs