Vuetify

Store

For Enterprise

The v-mutate directive utilizes the Mutation Observer API. It provides an easy to use interface for detecting when elements are updated.

By default the v-mutate directive will enable all available options in the Mutation Observer API. This can be modified in one of two ways. You can either pass in object with keys for handler and options or use the modifier property of the directive, v-mutate.attr.sub="onMutate"

Select your desired component from below and see the available props, slots, events and functions.

Below is a collection of simple to complex examples.

The v-mutate directive accepts modifiers for all of the available options in the Mutation Observer API. For brevity, abbreviations are used—attr (attributes), child (childList), sub (subtree) and char (characterData).

Caught a mistake or want to contribute to the documentation? Edit Layout or Content on GitHub!