forked from cytoscape/cytoscape.js
-
Notifications
You must be signed in to change notification settings - Fork 0
CoreEvents
maxkfranz edited this page Jan 10, 2012
·
2 revisions
These are event functions on the core API. There are also event functions for elements and collections.
You can bind to a number of event types.
Bind to an event that happens anywhere in the graph.
Remove a previous binding to an event that happens anywhere in the graph.
Add a callback function to be called one time when an event first occurs anywhere on the graph.
Trigger an event on the graph.
Bind to an event that happens specifically on the background of the graph.
Remove a previous binding to an event that happens specifically on the background of the graph.
Add a callback function to be called one time when an event first occurs on the background of the graph.
Trigger an event that happens specifically on the background of the graph.