project init & fix ui
This commit is contained in:
33
miniprogram_npm/tdesign-miniprogram/cascader/cascader.d.ts
vendored
Normal file
33
miniprogram_npm/tdesign-miniprogram/cascader/cascader.d.ts
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
import { SuperComponent } from '../common/src/index';
|
||||
import { TdCascaderProps } from './type';
|
||||
export interface CascaderProps extends TdCascaderProps {
|
||||
}
|
||||
export default class Cascader extends SuperComponent {
|
||||
externalClasses: string[];
|
||||
properties: TdCascaderProps<import("../common/common").TreeOptionData>;
|
||||
data: {
|
||||
prefix: string;
|
||||
name: string;
|
||||
stepIndex: number;
|
||||
selectedIndexes: any[];
|
||||
selectedValue: any[];
|
||||
defaultOptionLabel: string;
|
||||
scrollTopList: any[];
|
||||
steps: string[];
|
||||
};
|
||||
observers: {
|
||||
visible(v: any): void;
|
||||
'value, options'(): void;
|
||||
'selectedIndexes, options'(): void;
|
||||
stepIndex(): Promise<void>;
|
||||
};
|
||||
methods: {
|
||||
initWithValue(): void;
|
||||
getIndexesByValue(options: import("../common/common").TreeOptionData[], value: any): any[];
|
||||
updateScrollTop(): void;
|
||||
hide(): void;
|
||||
onStepClick(e: any): void;
|
||||
onTabChange(e: any): void;
|
||||
handleSelect(e: any): void;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user