cytoscape-cxtmenu
Advanced tools
Comparing version 2.9.5 to 2.9.6
@@ -47,3 +47,3 @@ /*! | ||
maxSpotlightRadius: 38, // the maximum radius in pixels of the spotlight | ||
openMenuEvents: 'cxttapstart taphold', // cytoscape events that will open the menu (space separated) | ||
openMenuEvents: 'cxttapstart taphold', // space-separated cytoscape events that will open the menu; only `cxttapstart` and/or `taphold` work here | ||
itemColor: 'white', // the colour of text in the command's content | ||
@@ -50,0 +50,0 @@ itemTextShadowColor: 'black', // the text shadow colour of the command's content |
{ | ||
"name": "cytoscape-cxtmenu", | ||
"version": "2.9.5", | ||
"version": "2.9.6", | ||
"description": "A context menu for Cytoscape.js", | ||
@@ -5,0 +5,0 @@ "main": "cytoscape-cxtmenu.js", |
@@ -69,7 +69,6 @@ cytoscape-cxtmenu | ||
fillColor: 'rgba(200, 200, 200, 0.75)', // optional: custom background color for item | ||
content: 'a command name', // html/text content to be displayed in the menu | ||
content: 'a command name' // html/text content to be displayed in the menu | ||
select: function(ele){ // a function to execute when the command is selected | ||
console.log( ele.id() ) // `ele` holds the reference to the active element | ||
}, | ||
disabled: false // disables the item on true | ||
} | ||
} | ||
@@ -86,3 +85,3 @@ */ | ||
maxSpotlightRadius: 38, // the maximum radius in pixels of the spotlight | ||
openMenuEvents: 'cxttapstart taphold', // cytoscape events that will open the menu (space separated) | ||
openMenuEvents: 'cxttapstart taphold', // space-separated cytoscape events that will open the menu; only `cxttapstart` and/or `taphold` work here | ||
itemColor: 'white', // the colour of text in the command's content | ||
@@ -89,0 +88,0 @@ itemTextShadowColor: 'black', // the text shadow colour of the command's content |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
604220
110