问题标签 [yfiles]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
40 浏览

java - 如何将 MouseWheel 事件捕获/转发到多个对象?

我正在使用yFiles库,并且正在处理一个名为view. 要为此对象激活 mouseWheel 滚动,我必须在registerViewListeners函数中添加一个侦听器。mouseWheelMoved但是,当 mouseweel 时,我也希望在 myClass 函数中得到通知

问题
如果我通过以下方式注册我的view对象registerViewListeners

我的mouseWheelMoved功能不再收到通知:

0 投票
2 回答
103 浏览

angular - 使用 Angular ComponentFactory 的工具提示工件

我正在使用 ComponentFactory 创建并运行一个组件,该组件用作 yFiles 上的工具提示(来自 yWorks 的出色 HTML 图表)。

我无法显示工具提示,当工具提示关闭时,它会留下工件。

有人给点建议吗?

工具提示工件的图像

用红色圆圈标记的文物