switch.d.ts 592 B

123456789101112131415161718192021222324
  1. import { SuperComponent } from '../common/src/index';
  2. export default class Switch extends SuperComponent {
  3. externalClasses: string[];
  4. behaviors: string[];
  5. properties: import("./type").TdSwitchProps;
  6. data: {
  7. classPrefix: string;
  8. isActive: boolean;
  9. bodyStyle: string;
  10. };
  11. controlledProps: {
  12. key: string;
  13. event: string;
  14. }[];
  15. observers: {
  16. value(val: any): void;
  17. };
  18. methods: {
  19. switchChange(): void;
  20. handleColorChange(): void;
  21. onTapBackground(): void;
  22. onTapDot(): void;
  23. };
  24. }