角度材料进度杆缓冲区动画从左到右
嗨,我想用缓冲动画制作一个进度栏 的功能
我尝试这样
<mat-progress-bar
mode="buffer"
value="87"
[bufferValue]="100 - 87"
style="width: 100%"
></mat-progress-bar>
hi i want to make a progress bar with buffer animation but the animation is reversed it goes right to left i want it to go left to right or no animation at all i looked through progress bar api but couldnt find anything does angular material progress bar have a such feature
i am trying like this
<mat-progress-bar
mode="buffer"
value="87"
[bufferValue]="100 - 87"
style="width: 100%"
></mat-progress-bar>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您希望使用左至右的缓冲区动画进行进度栏,请向其添加以下CSS属性。
如果您不想要动画,请将动画的流行音乐更改为无。
以下图像正在测试您的代码证据,这些证据是在Stackblitz中测试的。
If you want your progress bar with buffer animation which go left to right, add the following CSS property to it.
If you want no animation, change animation's poperty to none.
The following images are testing evidence for your code which are test in StackBlitz.
如果我们旋转progressbar 180度?
How if we rotate the progressbar 180 degree ?