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.
有没有办法在OpenSeaDragon的 ZoomIn 按钮上添加一个监听器?我不确定我的 ZoomIn 按钮是否被点击,所以我想用监听器拦截点击。
我查看了 API,但它似乎没有显示事件侦听器列表。
你可以这样做:
viewer.zoomInButton.tracker.clickHandler = function() { console.log('click'); };