Add href inside material tooltip

Viewed 3307

I have material info icon which has a tooltip. How to add link in a tooltip?

<i matTooltip='Make Changes<a href="https://myweb.com">here</>' matTooltipClass="tooltipFont" matTooltipPosition="above" class="fa fa-pencil" aria-hidden="true" style="float:right;margin-right: 8%"></i>

So the tooltip looks like below

Make Changes here

3 Answers

As @Pandiyan Cool mentioned HTML is not supported in mat-tooltip. Instead you can use SAT Popover: https://ncstate-sat.github.io/popover/
You can easily put HTML content in it and design as you want.

Related