javascript - glyphicon glyphicon-refresh glyphicon-spin 在 Angular2 中不起作用

标签 javascript css .net angular angular-ui-bootstrap

<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/

相关文章:

angularjs - Material Design Lite 输入 float 标签在页面导航后不起作用

C# 检查远程服务器

javascript - 在没有 jquery 的情况下将文本添加到模糊的 textarea 值

jquery - 如何在 bootstrap 工具提示 CSS/Jquery 中提到的文本中使单词变为粗体

javascript - 我如何将 React masonry 与 react-infinite-scroller 一起使用?

html - 浏览器之间的 CSS 边框差异

c# - 将 XAML 转换为 HTML 时出现“ namespace 像类型一样使用”错误

.net - 在图例部分显示数据点值。 SSRS

javascript - 在不同的 div 和类中交换相同的文本

javascript - 获取嵌套在 polymer 纸张对话框中的自定义 Web 组件内内容的 clientHeight