button.d.ts 858 B

12345678910111213141516171819202122232425262728293031
  1. import { SuperComponent } from '../common/src/index';
  2. import type { TdButtonProps } from './type';
  3. export interface ButtonProps extends TdButtonProps {
  4. }
  5. export default class Button extends SuperComponent {
  6. externalClasses: string[];
  7. behaviors: string[];
  8. properties: TdButtonProps;
  9. data: {
  10. prefix: string;
  11. className: string;
  12. classPrefix: string;
  13. };
  14. observers: {
  15. 'theme, size, plain, block, shape, disabled, loading'(): void;
  16. };
  17. lifetimes: {
  18. attached(): void;
  19. };
  20. methods: {
  21. setClass(): void;
  22. getuserinfo(e: any): void;
  23. contact(e: any): void;
  24. getphonenumber(e: any): void;
  25. error(e: any): void;
  26. opensetting(e: any): void;
  27. launchapp(e: any): void;
  28. chooseavatar(e: any): void;
  29. handleTap(e: any): void;
  30. };
  31. }