[英]How to disabled Angular mat-tab animations between two different component?
[英]How to set two different styles for label attribute in <mat-tab> in Angular 9?
下面的代碼解決了我的問題。 <ng-template mat-tab-label> ALERTS <span style="float:right;width:20px;height:20px;line-height:20px;text-align:center;background-color:red;border-radius:25px;">{{Data.length}}</span> </ng-template>
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.