notice-bar.d.ts 979 B

12345678910111213141516171819202122232425262728293031323334
  1. import { SuperComponent, ComponentsOptionsType } from '../common/src/index';
  2. export default class NoticeBar extends SuperComponent {
  3. externalClasses: string[];
  4. options: ComponentsOptionsType;
  5. properties: import("./type").TdNoticeBarProps;
  6. data: {
  7. prefix: string;
  8. classPrefix: string;
  9. loop: number;
  10. };
  11. observers: {
  12. marquee(val: any): void;
  13. visible(visible: any): void;
  14. prefixIcon(prefixIcon: any): void;
  15. suffixIcon(v: any): void;
  16. content(): void;
  17. };
  18. lifetimes: {
  19. created(): void;
  20. detached(): void;
  21. ready(): void;
  22. };
  23. methods: {
  24. initAnimation(): void;
  25. startScrollAnimation(isFirstScroll?: boolean): void;
  26. show(): void;
  27. clearNoticeBarAnimation(): void;
  28. setPrefixIcon(v: any): void;
  29. clickPrefixIcon(): void;
  30. clickContent(): void;
  31. clickSuffixIcon(): void;
  32. clickExtra(): void;
  33. };
  34. }