message.d.ts 1017 B

1234567891011121314151617181920212223242526272829303132333435
  1. /// <reference types="miniprogram-api-typings" />
  2. import { SuperComponent, ComponentsOptionsType } from '../common/src/index';
  3. import { MessageProps } from './message.interface';
  4. export default class Message extends SuperComponent {
  5. externalClasses: string[];
  6. options: ComponentsOptionsType;
  7. properties: MessageProps;
  8. data: {
  9. prefix: string;
  10. classPrefix: string;
  11. loop: number;
  12. animation: any[];
  13. showAnimation: any[];
  14. wrapTop: number;
  15. };
  16. observers: {
  17. marquee(val: any): void;
  18. icon(v: any): void;
  19. closeBtn(v: any): void;
  20. };
  21. closeTimeoutContext: number;
  22. nextAnimationContext: number;
  23. resetAnimation: WechatMiniprogram.Animation;
  24. ready(): void;
  25. memoInitalData(): void;
  26. resetData(cb: () => void): void;
  27. detached(): void;
  28. checkAnimation(): void;
  29. clearMessageAnimation(): void;
  30. show(): void;
  31. hide(): void;
  32. reset(): void;
  33. handleClose(): void;
  34. handleBtnClick(): void;
  35. }