<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous">
<div style="display:inline-block;float:right; margin-right:20px;">
<a style="font-size:2rem !important;" class="btn btn-ok margin-top-10" >
<span class="glyphicon glyphicon-refresh glyphicon-spin" (click)="GetAmbiguityAnalysisResult()" >
</span>
</a>
</div>
我想使用微调器来刷新数据。 我已经使用了上面的代码。
数据正在刷新。但是图标没有旋转。
最佳答案
尝试使用这个 {{span class="glyphicon glyphicon-repeat normal-right-spinner">}}。 我认为这会起作用,但如果你想使用微调器,你也可以尝试 像这样的 Bootstrap 微调器。 {{旋转:}} {{i class="fa fa-circle-o-notch fa-spin"style="font-size:24px"}}
关于javascript - glyphicon glyphicon-refresh glyphicon-spin 在 Angular2 中不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45795779/