angular - 不确定的进度条无法正常工作

标签 angular angularjs-scope angular-ui angular-ui-grid mat-card

我正在使用 MatProgressBarModule 在卡页脚末尾添加线性不确定状态栏。下面是我的代码 -

  <mat-card-footer>
    <ng-content select="dashboard-card-footer"></ng-content>
    <section class="example-section">
    <mat-progress-bar  [mode]="indeterminate"  value="20" bufferValue ="75"> 
    </mat-progress-bar>
    </section>
  </mat-card-footer> 

它在屏幕上显示为确定的状态栏。我也尝试过不同的模式,即查询、缓冲区。但它只能作为确定的进度条。

最佳答案

尝试检查,也许您导入了:NoopAnimationsModule,因为它将禁用您应用程序的所有动画)

关于angular - 不确定的进度条无法正常工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51964626/

相关文章:

javascript - 获取剪贴板文本

javascript - $scope.$watch 在 angular.js 中加载后不会触发

javascript - CSS - 在文本中滑动

javascript - 带有 'collapse' 指令的 Angular UI Bootstrap 不调用 expandDone()

html - 没有用于具有未指定名称属性的表单控件的值访问器

javascript - 如何将对象从 *ngFor 选择选项传递到(更改)函数 Angular 2

angular - 您必须在 angular-cli 项目中才能使用 serve 命令

javascript - 无法从 HTML 访问范围变量

javascript - AngularJS : How to access the directive's scope in transcluded content?

AngularJS 转换到抽象状态