Lines Matching refs:Progress

1 # 进度条 (Progress)
4 Progress是进度条显示组件,显示内容通常为目标操作的当前进度。具体用法请参考[Progress](../reference/apis-arkui/arkui-ts/ts-basic-compo…
9 Progress通过调用接口来创建,接口调用形式如下:
12 Progress(options: {value: number, total?: number, type?: ProgressType})
16 其中,value用于设置初始进度值,total用于设置进度总长度,type用于设置Progress样式。
19 Progress({ value: 24, total: 100, type: ProgressType.Linear }) // 创建一个进度总长为100,初始进度值为24的线性进度条
28 Progress有5种可选类型,通过ProgressType可以设置进度条样式,ProgressType类型包括:ProgressType.Linear(线性样式)、 ProgressType.Ri…
39 Progress({ value: 20, total: 100, type: ProgressType.Linear }).width(200).height(50)
40 Progress({ value: 20, total: 100, type: ProgressType.Linear }).width(50).height(200)
49 Progress({ value: 40, total: 150, type: ProgressType.Ring }).width(100).height(100)
51 Progress({ value: 40, total: 150, type: ProgressType.Ring }).width(100).height(100)
61 Progress({ value: 20, total: 150, type: ProgressType.ScaleRing }).width(100).height(100)
64 Progress({ value: 20, total: 150, type: ProgressType.ScaleRing }).width(100).height(100)
67 Progress({ value: 20, total: 150, type: ProgressType.ScaleRing }).width(100).height(100)
78 Progress({ value: 10, total: 150, type: ProgressType.Eclipse }).width(100).height(100)
80Progress({ value: 20, total: 150, type: ProgressType.Eclipse }).color(Color.Grey).width(100).heigh…
95 Progress({ value: 10, total: 150, type: ProgressType.Capsule }).width(100).height(50)
96Progress({ value: 20, total: 150, type: ProgressType.Capsule }).width(50).height(100).color(Color.…
97Progress({ value: 50, total: 150, type: ProgressType.Capsule }).width(50).height(100).color(Color.…
105 更新当前进度值,如应用安装进度条,可通过点击Button增加progressValue,value属性将progressValue设置给Progress组件,进度条组件即会触发刷新,更新当前进度。
115Progress({value:0, total:100, type:ProgressType.Capsule}).width(200).height(50).value(this.progres…