Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要检查悬停上的元素是否执行某些操作,如果是,则获取,如果不返回。
按钮-> 鼠标悬停事件-> DOM 更改?返回元素:不返回。
我该怎么做?我想出的只是使用 MutationObserver。但我还没有弄清楚如何:(
提前致谢。