collapse.d.ts 716 B

123456789101112131415161718192021222324252627
  1. import { SuperComponent, RelationsOptions } from '../common/src/index';
  2. import type { CollapseValue, TdCollapseProps } from './type';
  3. export interface CollapseProps extends TdCollapseProps {
  4. }
  5. export default class Collapse extends SuperComponent {
  6. options: {
  7. addGlobalClass: boolean;
  8. };
  9. externalClasses: string[];
  10. relations: RelationsOptions;
  11. controlledProps: {
  12. key: string;
  13. event: string;
  14. }[];
  15. properties: TdCollapseProps;
  16. data: {
  17. prefix: string;
  18. classPrefix: string;
  19. };
  20. observers: {
  21. 'value, expandMutex '(): void;
  22. };
  23. methods: {
  24. updateExpanded(): void;
  25. switch(panelValue: CollapseValue): void;
  26. };
  27. }