25 lines
592 B
TypeScript
25 lines
592 B
TypeScript
|
import { SuperComponent } from '../common/src/index';
|
||
|
export default class Switch extends SuperComponent {
|
||
|
externalClasses: string[];
|
||
|
behaviors: string[];
|
||
|
properties: import("./type").TdSwitchProps;
|
||
|
data: {
|
||
|
classPrefix: string;
|
||
|
isActive: boolean;
|
||
|
bodyStyle: string;
|
||
|
};
|
||
|
controlledProps: {
|
||
|
key: string;
|
||
|
event: string;
|
||
|
}[];
|
||
|
observers: {
|
||
|
value(val: any): void;
|
||
|
};
|
||
|
methods: {
|
||
|
switchChange(): void;
|
||
|
handleColorChange(): void;
|
||
|
onTapBackground(): void;
|
||
|
onTapDot(): void;
|
||
|
};
|
||
|
}
|