UNPKG

475 BTypeScriptView Raw
1/**
2 * @description 上传进度条
3 * @author wangfupeng
4 */
5import Editor from '../../editor/index';
6declare class Progress {
7 private editor;
8 private $bar;
9 private $textContainer;
10 private isShow;
11 private time;
12 private timeoutId;
13 constructor(editor: Editor);
14 /**
15 * 显示进度条
16 * @param progress 进度百分比
17 */
18 show(progress: number): void;
19 /**
20 * 隐藏
21 */
22 private hide;
23}
24export default Progress;