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.
我正在使用 subModal 窗口(基本上是一个浮动框架)作为登录提示。当鼠标离开浮动框架时,有没有办法触发事件?
是的,它被称为mouseleave
mouseleave
绑定要在鼠标离开元素时触发的事件处理程序,或在元素上触发该处理程序。