progress.d.ts 475 B

123456789101112131415161718192021222324
  1. /**
  2. * @description 上传进度条
  3. * @author wangfupeng
  4. */
  5. import Editor from '../../editor/index';
  6. declare 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. }
  24. export default Progress;