button.d.ts 889 B

1234567891011121314151617181920212223242526272829303132
  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. icon(icon: any): void;
  17. };
  18. lifetimes: {
  19. attached(): void;
  20. };
  21. methods: {
  22. setClass(): void;
  23. getuserinfo(e: any): void;
  24. contact(e: any): void;
  25. getphonenumber(e: any): void;
  26. error(e: any): void;
  27. opensetting(e: any): void;
  28. launchapp(e: any): void;
  29. chooseavatar(e: any): void;
  30. handleTap(e: any): void;
  31. };
  32. }