Skip to content

v-mutate API ​

组件页面 ​

值 ​

A handler function that is invoked when the element that the directive is attached to is mutated, or an object of MutationObserver options

修饰符 ​

attr
设置 attributes 为 true。
char
设置 characterData 为 true。
child
设置 childList 为 true。
immediate
The provided handler function is invoked immediately when directive is attached to element.
once
The provided handler function is only invoked once.
sub
设置 subtree 为true。