1234567891011121314151617181920212223242526272829 |
- 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[];
- options: {
- multipleSlots: boolean;
- };
- relations: RelationsOptions;
- properties: TdCollapsePanelProps;
- data: {
- prefix: string;
- 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): Promise<WechatMiniprogram.BoundingClientRectCallbackResult>;
- updateStyle(expanded: boolean): any;
- onClick(): void;
- onTransitionEnd(): void;
- };
- }
|