collapse-panel.d.ts 833 B

1234567891011121314151617181920212223242526
  1. import { SuperComponent, RelationsOptions } from '../common/src/index';
  2. import type { TdCollapsePanelProps } from './type';
  3. export interface CollapsePanelProps extends TdCollapsePanelProps {
  4. }
  5. export default class CollapsePanel extends SuperComponent {
  6. externalClasses: string[];
  7. options: {
  8. multipleSlots: boolean;
  9. };
  10. relations: RelationsOptions;
  11. properties: TdCollapsePanelProps;
  12. data: {
  13. prefix: string;
  14. expanded: boolean;
  15. classPrefix: string;
  16. classBasePrefix: string;
  17. ultimateExpandIcon: boolean;
  18. ultimateDisabled: boolean;
  19. };
  20. methods: {
  21. set(data: Record<string, object | any>): Promise<unknown>;
  22. updateExpanded(activeValues: any): void;
  23. updateStyle(expanded: boolean): Promise<void>;
  24. onClick(): void;
  25. };
  26. }