28 lines
725 B
TypeScript
28 lines
725 B
TypeScript
import { SuperComponent } from '../common/src/index';
|
|
export default class Tag extends SuperComponent {
|
|
data: {
|
|
prefix: string;
|
|
classPrefix: string;
|
|
className: string;
|
|
tagStyle: string;
|
|
};
|
|
properties: import("./type").TdTagProps;
|
|
externalClasses: string[];
|
|
options: {
|
|
multipleSlots: boolean;
|
|
};
|
|
lifetimes: {
|
|
attached(): void;
|
|
};
|
|
observers: {
|
|
'size, shape, theme, variant, closable, disabled'(): void;
|
|
maxWidth(): void;
|
|
};
|
|
methods: {
|
|
setClass(): void;
|
|
setTagStyle(): string;
|
|
handleClick(e: WechatMiniprogram.BaseEvent): void;
|
|
handleClose(e: WechatMiniprogram.BaseEvent): void;
|
|
};
|
|
}
|