12345678910111213141516171819202122232425 |
- import { SuperComponent, RelationsOptions } from '../common/src/index';
- import type { TdCollapsePanelProps } from './type';
- export interface CollapsePanelProps extends TdCollapsePanelProps {
- }
- export default class CollapsePanel extends SuperComponent {
- externalClasses: string[];
- relations: RelationsOptions;
- properties: TdCollapsePanelProps;
- data: {
- contentHeight: number;
- expanded: boolean;
- classPrefix: string;
- classBasePrefix: string;
- ultimateExpandIcon: boolean;
- ultimateDisabled: boolean;
- };
- methods: {
- set(data: Record<string, object | any>): Promise<unknown>;
- updateExpanded(activeValues: any): Promise<void>;
- getRect(selector: string, all?: boolean): Promise<WechatMiniprogram.BoundingClientRectCallbackResult>;
- updateStyle(expanded: boolean): any;
- onClick(): void;
- onTransitionEnd(): void;
- };
- }
|