鍍金池/ 問答/HTML5  Linux  HTML/ echarts map怎么在鼠標(biāo)滾輪滾動的時候執(zhí)行一個事件???

echarts map怎么在鼠標(biāo)滾輪滾動的時候執(zhí)行一個事件???

echarts3.0,我想在map鼠標(biāo)滾輪縮放的時候

          roam:function () {
                tip.css("display","none");
                return  true;
              },

這么寫不行!

回答
編輯回答
憶往昔

監(jiān)聽onmousewheel 事件 就好了。

2017年8月31日 03:45