Quasar. Dev/vue – directi…
What does Mutation mean?
The MutationObserver interface provides the ability to monitor changes made to the DOM tree. It is designed as a replacement for the older Mutation Events feature, which is part of the DOM3 Events specification.
Developer.mozilla.org/zh-CN/docs/…
Two, the current effect to achieve
Effect:
3. According to the example on the official website, I wrote the following code: