Files
2025-10-01 10:01:52 +08:00

37 lines
1.1 KiB
TypeScript

import { SuperComponent } from '../common/src/index';
export default class Navbar extends SuperComponent {
externalClasses: string[];
timer: any;
options: {
multipleSlots: boolean;
};
properties: import("./type").TdNavbarProps;
observers: {
visible(this: Navbar, visible: any): void;
'title,titleMaxLength'(this: any): void;
};
data: {
prefix: string;
classPrefix: string;
boxStyle: string;
showTitle: string;
hideLeft: boolean;
hideCenter: boolean;
_menuRect: any;
_leftRect: any;
_boxStyle: {};
};
attached(): void;
detached(): void;
methods: {
initStyle(): void;
calcCenterStyle(leftRect: WechatMiniprogram.BoundingClientRectResult, menuRect: WechatMiniprogram.BoundingClientRectResult, defaultStyle: object): void;
getLeftRect(): void;
getMenuRect(): void;
onMenuButtonBoundingClientRectWeightChange(): void;
offMenuButtonBoundingClientRectWeightChange(): void;
queryElements(capsuleRect: any): void;
goBack(): void;
};
}