gpt4 book ai didi

angular - 在 Material 工具提示中添加 href

转载 作者:行者123 更新时间:2023-12-04 14:17:45 25 4
gpt4 key购买 nike

我有一个带有工具提示的 Material 信息图标。如何在工具提示中添加链接?

<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>

所以工具提示看起来像下面

进行更改 here

最佳答案

mat 工具提示不支持 HTML 内容。
引用:https://github.com/angular/components/issues/5440#issuecomment-313740211

关于angular - 在 Material 工具提示中添加 href,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58587677/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com