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.
我正在尝试在鼠标悬停在组合框项目上时执行一种临时表单自动完成功能。我的组合框有一个远程存储,我希望在项目悬停时表单的其他字段与来自组合存储的其他信息一起编译,而鼠标在项目上。组合框项目没有鼠标悬停事件,所以我该怎么做?
您可以将鼠标悬停侦听器附加到包装组合框的 div 元素,如下所示:
myCombo.bodyEl.on('mouseover', function(e, t, eOpts) { //Do something });