forked from cytoscape/cytoscape.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Core trigger
maxkfranz edited this page Jan 10, 2012
·
2 revisions
events : A list of space-separated event names
extraParameters : An array of extra parameters passed to the handler functionevent : A jQuery event object
events : A list of space-separated event names to bind directly to the graph background
extraParameters : An array of extra parameters passed to the handler functionevent : A jQuery event object to bind directly to the graph background
cy.bind("click", function(){
console.log("click");
});
cy.trigger("click"); // prints "click"