tab-bar-item.d.ts 943 B

123456789101112131415161718192021222324252627282930313233343536
  1. import { SuperComponent, RelationsOptions } from '../common/src/index';
  2. export default class TabBarItem extends SuperComponent {
  3. parent: any;
  4. relations: RelationsOptions;
  5. options: {
  6. multipleSlots: boolean;
  7. };
  8. data: {
  9. prefix: string;
  10. classPrefix: string;
  11. isSpread: boolean;
  12. isChecked: boolean;
  13. hasChildren: boolean;
  14. currentName: string;
  15. split: boolean;
  16. iconOnly: boolean;
  17. theme: string;
  18. crowded: boolean;
  19. shape: string;
  20. };
  21. properties: import("./type").TdTabBarItemProps;
  22. observers: {
  23. subTabBar(value: Record<string, any>[]): void;
  24. icon(v: any): void;
  25. };
  26. lifetimes: {
  27. attached(): Promise<void>;
  28. };
  29. methods: {
  30. showSpread(): void;
  31. toggle(): void;
  32. selectChild(event: any): void;
  33. checkActive(value: any): void;
  34. closeSpread(): void;
  35. };
  36. }