12345678910111213141516171819202122232425262728293031 |
- import { SuperComponent } from '../common/src/index';
- import type { TdButtonProps } from './type';
- export interface ButtonProps extends TdButtonProps {
- }
- export default class Button extends SuperComponent {
- externalClasses: string[];
- behaviors: string[];
- properties: TdButtonProps;
- data: {
- prefix: string;
- className: string;
- classPrefix: string;
- };
- observers: {
- 'theme, size, plain, block, shape, disabled, loading'(): void;
- };
- lifetimes: {
- attached(): void;
- };
- methods: {
- setClass(): void;
- getuserinfo(e: any): void;
- contact(e: any): void;
- getphonenumber(e: any): void;
- error(e: any): void;
- opensetting(e: any): void;
- launchapp(e: any): void;
- chooseavatar(e: any): void;
- handleTap(e: any): void;
- };
- }
|