atomiks / tippyjs

Tooltip, popover, dropdown, and menu library
https://atomiks.github.io/tippyjs/
MIT License
11.86k stars 520 forks source link

Tippy js used with html content using Angular Material Icon #1038

Closed ParthMDave closed 2 years ago

ParthMDave commented 2 years ago

I have work with angular application with angular material component. For Tooltip functionality i have used Tippyjs. using Tippyjs i have display html content dynamically. but when i am trying to bind ### keyboard_double_arrow_right with tippyjs & Material Icon it just show me output as below:

Capture

A clear and concise description of what the problem is.

Solution

I want to display that material icon which i have given. outside the tooltip i am able to access mat-icon so their are no any issue regarding import of material icons. Instead of below highlighted yellow text i want to display material icon

atomiks commented 2 years ago

You need to render HTML w/ allowHTML: true