water_xcx/miniprogram_npm/tdesign-miniprogram/navbar/navbar.d.ts

35 lines
956 B
TypeScript
Raw Permalink Normal View History

2025-04-15 15:44:51 +08:00
import { SuperComponent } from '../common/src/index';
export default class Navbar extends SuperComponent {
externalClasses: string[];
timer: any;
options: {
addGlobalClass: boolean;
multipleSlots: boolean;
};
properties: import("./type").TdNavbarProps;
observers: {
visible(this: Navbar, visible: any): void;
fixed(this: Navbar, fixed: any): void;
background(this: Navbar, background: any): void;
'homeIcon, leftIcon'(this: Navbar): void;
'title,titleMaxLength'(this: any): void;
};
data: {
hasHomeIcon: boolean;
hasBackIcon: boolean;
classPrefix: string;
fixedClass: string;
contentStyle: string;
boxStyle: string;
opacity: number;
ios: boolean;
showTitle: string;
};
attached(): void;
methods: {
calcLeftBtn(): void;
goHome(): void;
goBack(): void;
};
}