ras*_*oli 4 qtip qtip2 cytoscape.js
我试图在节点的右键单击事件上显示qtip.我已经在鼠标悬停或点击事件上做了它们并且他们工作了.但是我不能让它在右键单击上工作.
position: {
my: 'top left',
at: 'bottom right',
adjust: { method: 'none' }
},
style: {
classes: 'qtip-rounded'
},
show: {
event: 'mouseover'
}
Run Code Online (Sandbox Code Playgroud)
任何猜测?我也检查了这个:http://qtip2.com/guides#events.rightclick 它对我不起作用.
谢谢,Olivér
您不能使用qtip docs建议的DOM事件,因为图形元素不是HTMLElements.您应该使用Cytoscape事件.
cxttap
:http://js.cytoscape.org/#events/user-input-device-events
归档时间: |
|
查看次数: |
1478 次 |
最近记录: |