cytoscape-cxtmenu
Advanced tools
Comparing version 2.5.0 to 2.6.0
@@ -47,2 +47,3 @@ /*! | ||
maxSpotlightRadius: 38, // the maximum radius in pixels of the spotlight | ||
openMenuEvents: 'cxttapstart taphold', // cytoscape events that will open the menu (space separated) | ||
itemColor: 'white', // the colour of text in the command's content | ||
@@ -343,3 +344,3 @@ itemTextShadowColor: 'black', // the text shadow colour of the command's content | ||
bindings | ||
.on('cxttapstart taphold', options.selector, function(e){ | ||
.on(options.openMenuEvents, options.selector, function(e){ | ||
target = this; // Remember which node the context menu is for | ||
@@ -346,0 +347,0 @@ var ele = this; |
{ | ||
"name": "cytoscape-cxtmenu", | ||
"version": "2.5.0", | ||
"version": "2.6.0", | ||
"description": "A context menu for Cytoscape.js", | ||
@@ -5,0 +5,0 @@ "main": "cytoscape-cxtmenu.js", |
@@ -88,2 +88,3 @@ cytoscape-cxtmenu | ||
maxSpotlightRadius: 38, // the maximum radius in pixels of the spotlight | ||
openMenuEvents: 'cxttapstart taphold', // cytoscape events that will open the menu (space separated) | ||
itemColor: 'white', // the colour of text in the command's content | ||
@@ -90,0 +91,0 @@ itemTextShadowColor: 'black', // the text shadow colour of the command's content |
601786
1873
113