如何按其值隐藏按钮?
例子 :
<button class="mat-raised-button mat-primary" color="primary" mat-raised-button="">
<span class="mat-button-wrapper">RESET</span>
<div class="mat-button-ripple mat-ripple" matripple=""></div>
<div class="mat-button-focus-overlay"></div>
</button>
其实我想隐藏这个有RESET的按钮。但我无法在其类的帮助下隐藏它,因为同一个类正在其他按钮中使用。如果尝试使用类名隐藏所有具有相同类的按钮将被隐藏。
有什么帮助吗?
白衣非少年
慕标5832272
慕斯王
慕村225694
随时随地看视频慕课网APP
相关分类