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

Ability to show markup inside tooltips #154

Open
chinchang opened this issue Oct 3, 2016 · 3 comments
Open

Ability to show markup inside tooltips #154

chinchang opened this issue Oct 3, 2016 · 3 comments

Comments

@chinchang
Copy link
Owner

chinchang commented Oct 3, 2016

Right now hint.css tooltips can only show normal text with unicode characters. It cannot render HTML because of no support in content property.

HTML tooltips are only possible when tooltips are not made using pseudo elements. So the library could have an option to let user define their own element in the DOM which is rendered as a tooltip.

Something like:

<div class="hint--top">
A tooltip shows on me.
<div data-hint>I am <strong>rendered</strong> as tooltip with HTML</div>
</div>
@PratheepV
Copy link

PratheepV commented Jul 15, 2017

+1

@chinchang chinchang added this to Features in Todo tracking Jul 16, 2017
@janydrozd
Copy link

janydrozd commented Oct 19, 2018

@chinchang is it still opened? I could work on this.

@chinchang
Copy link
Owner Author

chinchang commented Oct 21, 2018

@janydrozd Yes, it is open. PR is welcome :)

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

No branches or pull requests

3 participants