秦小小樱

导航

angualr Material Icons

首先需要项目引入 angualr meterial icons的资源库

图标资源链接

https://klarsys.github.io/angular-material-icons/

<md-button class="md-icon-button" ng-click="upDialogAndSaveFilter()" ng-disabled="fullQuery===undefined" auto-id="automation_button_saveFilter" >
                        <!--<span translate="nvsAlarmWebWidget.filter.saveFilter">Save Filter</span>-->
                        <md-icon class="ng-scope material-icons" role="img" aria-hidden="true">
                            <i class="material-icons">save</i>   //save 为图标的名称
                        </md-icon>
                        <md-tooltip><span translate="nvsAlarmWebWidget.filter.saveFilter"></span></md-tooltip> //鼠标悬浮时文字提示
                    </md-button>

 

posted on 2018-07-13 10:18  RonnieQin  阅读(166)  评论(0编辑  收藏  举报