collapse.d.ts 692 B

1234567891011121314151617181920212223242526
  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. classPrefix: string;
  18. };
  19. observers: {
  20. 'value, expandMutex '(): void;
  21. };
  22. methods: {
  23. updateExpanded(): void;
  24. switch(panelValue: CollapseValue): void;
  25. };
  26. }