您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

11 行
399 B

  1. export declare function formatSeconds(seconds: number | string): string;
  2. export declare function throttle(fn: Function, wait: number): Function;
  3. export declare class EventBus {
  4. private _events;
  5. constructor();
  6. protected on(event: any, action: any, fn: () => {}): void;
  7. private has;
  8. protected emit(event: any, data?: any): void;
  9. protected off(event: any, action: any): void;
  10. }