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

Support to apply styles to node title #100

Open
CaptSadaf opened this issue Aug 24, 2021 · 2 comments
Open

Support to apply styles to node title #100

CaptSadaf opened this issue Aug 24, 2021 · 2 comments

Comments

@CaptSadaf
Copy link

CaptSadaf commented Aug 24, 2021

Thanks for awesome library!

Is there any way to apply styles to nodes title as in the below attached image? We can append text to node and format the string but no styles?
node.append("text").text(()=>{return "string"})
image

@CaptSadaf
Copy link
Author

@shreshthmohan
Copy link

@CaptSadaf you can attach a div based on your current mouse pointer position using .on('mouseover', () => { /* append div with custom html with styles */})

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

No branches or pull requests

2 participants