ProgressSpinner 是一个进程状态指示器。
import ProgressSpinner from 'primevue/progressspinner';
默认显示无限旋转动画。
<ProgressSpinner />
ProgressSpinner 可以通过 style、strokeWidth、fill 和 animationDuration 等样式属性进行自定义。
<ProgressSpinner style="width: 50px; height: 50px" strokeWidth="8" fill="transparent"
animationDuration=".5s" aria-label="Custom ProgressSpinner" />
ProgressSpinner 组件使用 progressbar 角色。可以使用 aria-labelledby 和 aria-label 属性定义描述组件的值。
<ProgressSpinner aria-label="Loading" />
该组件不包含任何交互元素。