Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New feature: bubbleCreatedCallback #18

Open
dmarzo opened this issue Apr 24, 2012 · 0 comments
Open

New feature: bubbleCreatedCallback #18

dmarzo opened this issue Apr 24, 2012 · 0 comments

Comments

@dmarzo
Copy link

dmarzo commented Apr 24, 2012

Add to config a function callbak that's called when a bubble is created

me.createBubble = function(node, origin, rad, angle, color) {
....

  • if ($.isFunction(me.config.bubbleCreatedCallback)) {me.config.bubbleCreatedCallback(bubble);}
    return bubble;
    }

I use to set custom shortLabel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants