button.d.ts 943 B

1234567891011121314151617181920212223242526272829303132333435
  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. options: {
  10. multipleSlots: boolean;
  11. };
  12. data: {
  13. prefix: string;
  14. className: string;
  15. classPrefix: string;
  16. };
  17. observers: {
  18. 'theme, size, plain, block, shape, disabled, loading'(): void;
  19. icon(icon: any): void;
  20. };
  21. lifetimes: {
  22. attached(): void;
  23. };
  24. methods: {
  25. setClass(): void;
  26. getuserinfo(e: any): void;
  27. contact(e: any): void;
  28. getphonenumber(e: any): void;
  29. error(e: any): void;
  30. opensetting(e: any): void;
  31. launchapp(e: any): void;
  32. chooseavatar(e: any): void;
  33. handleTap(e: any): void;
  34. };
  35. }