navbar.d.ts 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. import { SuperComponent } from '../common/src/index';
  2. export default class Navbar extends SuperComponent {
  3. externalClasses: string[];
  4. timer: any;
  5. options: {
  6. multipleSlots: boolean;
  7. };
  8. properties: import("./type").TdNavbarProps;
  9. observers: {
  10. visible(this: Navbar, visible: any): void;
  11. 'title,titleMaxLength'(this: any): void;
  12. };
  13. data: {
  14. prefix: string;
  15. classPrefix: string;
  16. boxStyle: string;
  17. showTitle: string;
  18. hideLeft: boolean;
  19. hideCenter: boolean;
  20. _menuRect: any;
  21. _leftRect: any;
  22. _boxStyle: {};
  23. };
  24. attached(): void;
  25. detached(): void;
  26. methods: {
  27. initStyle(): void;
  28. calcCenterStyle(leftRect: WechatMiniprogram.BoundingClientRectResult, menuRect: WechatMiniprogram.BoundingClientRectResult, defaultStyle: object): void;
  29. getLeftRect(): void;
  30. getMenuRect(): void;
  31. onMenuButtonBoundingClientRectWeightChange(): void;
  32. offMenuButtonBoundingClientRectWeightChange(): void;
  33. queryElements(capsuleRect: any): void;
  34. goBack(): void;
  35. };
  36. }