Comments (2)
Events bubble up to compound parents, just as events bubble on div parents in the DOM. You'll have to use a custom event for compounds, e.g.
nodes.qtip({ show: { event: 'directtap' } });
nodes.on('tap', function( e ){
var eventIsDirect = e.cyTarget === this;
if( eventIsDirect ){
this.trigger('directtap');
}
});
from cytoscape.js-qtip.
@maxkfranz Thanks :) 👍
from cytoscape.js-qtip.
Related Issues (20)
- Share qtip instance per collection when possible
- removing a qtip bug HOT 8
- Improve adjusting when overflowing viewport
- Child node qtips don't get displayed properly HOT 5
- Add support for qTip version 3 HOT 4
- Qtip unpositioned for `mousover` HOT 3
- qtip.$domEle.qtip is not a function HOT 4
- qtip api method reposition not working
- Show qtip on hover or right click HOT 1
- show cytoscape.js-qtip on right click HOT 1
- Not show qtip on node on React Project HOT 4
- Edge tooltip position not correct HOT 12
- qtip.$domEle.qtip( opts ) is not a function, again. HOT 19
- Is it possible to new line in qtip content text? HOT 1
- Edge tooltip position is not working as expected HOT 4
- Click on node label doesn't open qTip HOT 1
- Showing multiple qtips on different nodes is broken HOT 1
- Allow jQuery 3.x (there is an XSS vulnerability in previous versions) HOT 4
- How can data wrap
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cytoscape.js-qtip.