You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
706 B
26 lines
706 B
import { RelationsOptions, SuperComponent } from '../common/src/index';
|
|
import type { TdDropdownMenuProps } from './type';
|
|
export interface DropdownMenuProps extends TdDropdownMenuProps {
|
|
}
|
|
export default class DropdownMenu extends SuperComponent {
|
|
externalClasses: string[];
|
|
properties: TdDropdownMenuProps;
|
|
nodes: any;
|
|
data: {
|
|
prefix: string;
|
|
classPrefix: string;
|
|
menus: any;
|
|
activeIdx: number;
|
|
bottom: number;
|
|
};
|
|
relations: RelationsOptions;
|
|
lifetimes: {
|
|
ready(): void;
|
|
};
|
|
methods: {
|
|
toggle(index: number): void;
|
|
getAllItems(): void;
|
|
handleToggle(e: WechatMiniprogram.BaseEvent): void;
|
|
};
|
|
}
|