is it possible to tell if DOM was modified, and which part?

后端 未结 5 1968
无人共我
无人共我 2021-01-02 17:03

Are there any practical ways to tell what part of the DOM was modified if you know that it will be modified?

I am writing a plugin that will be running along with ja

5条回答
  •  一个人的身影
    2021-01-02 17:43

    With jquery you could trigger :animated filter to search the elements being animated, i don't know if you will have so much delay between these kind of events, but if main trigger on initial transform is triggered just when transformation is initiated you could try to catch :animated element and capture initial state before ending animation, then on end capture state and compare, its only a hint i don't have any demonstration or way to reproduce your working environment but i hope this guideline could give you a idea.

提交回复
热议问题