Issue
Would you please help me in this tooltip? It does not work.
<div class="btn-edit-nounderline"
matTooltipClass="custom-tooltip" (click)="edit(row.widgetAccess)"
title="{{getTitle(row.widgetAccess.widgets.length)}}">
and here is the func
getTitle(editWidgetsNum) {
return this.translate.instant('Edit_WidgetsNum', {n:
editWidgetsNum});
}
Solution
You should use:
title="{{getTitle(row.widgetAccess.widgets.length)"}}"
or
[title]="getTitle(row.widgetAccess.widgets.length)"
Answered By - huan feng
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.