city-casereport/miniprogram_npm/tdesign-miniprogram/tab-bar-item/tab-bar-item.d.ts

38 lines
974 B
TypeScript
Raw Permalink Normal View History

2023-12-06 14:22:42 +08:00
import { SuperComponent, RelationsOptions } from '../common/src/index';
export default class TabBarItem extends SuperComponent {
externalClasses: string[];
parent: any;
relations: RelationsOptions;
options: {
multipleSlots: boolean;
};
data: {
prefix: string;
classPrefix: string;
isSpread: boolean;
isChecked: boolean;
hasChildren: boolean;
currentName: string;
split: boolean;
iconOnly: boolean;
theme: string;
crowded: boolean;
shape: string;
};
properties: import("./type").TdTabBarItemProps;
observers: {
subTabBar(value: Record<string, any>[]): void;
icon(v: any): void;
};
lifetimes: {
attached(): Promise<void>;
};
methods: {
showSpread(): void;
toggle(): void;
selectChild(event: any): void;
checkActive(value: any): void;
closeSpread(): void;
};
}