Skip to content

Conversation

@alexnm
Copy link

@alexnm alexnm commented Oct 1, 2015

I see a lot of cases where you need to format your text inside the tooltip and html formatting is the closest to the react way I think. This way you can specify the tooltip text as raw html: "

This is a tooltip

"

I see a lot of cases where you need to format your text inside the tooltip and html formatting is the closest to the react way I think. This way you can specify the tooltip text as raw html: "<p>This is a <strong>tooltip</strong></p>"
@wwayne
Copy link
Collaborator

wwayne commented Oct 1, 2015

This may be a method to support html format content, but in this pull request, user will get [object] when they just provide content like data-tip='tooltip'.

We may need a better way to implement this(make this as an option perhaps)
Anyway, you've provide a good way to implement this, thanks

@wwayne wwayne closed this Oct 1, 2015
@alexnm
Copy link
Author

alexnm commented Oct 1, 2015

yes, I agree, an option would be great. If I have time I might try a more generic approach and do another pull request.

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

Labels

None yet

2 participants