Browse Source

KERNEL-7826 refactor: 补充props声明

es6
Kira 3 years ago
parent
commit
20184e51e2
  1. 5
      typescript/base/single/button/buttons/button.icon.ts
  2. 5
      typescript/case/button/icon/icon.change.ts

5
typescript/base/single/button/buttons/button.icon.ts

@ -3,4 +3,9 @@ import { BasicButton } from "../button.basic";
export declare class IconButton extends BasicButton {
static xtype: string;
static EVENT_CHANGE: string;
props: {
iconWidth: number;
iconHeight: number;
} & BasicButton['props']
}

5
typescript/case/button/icon/icon.change.ts

@ -1,9 +1,14 @@
import { IconButton } from "../../../base/single/button/buttons/button.icon";
import { Single } from "../../../base/single/single";
export declare class IconChangeButton extends Single {
static xtype: string;
static EVENT_CHANGE: string;
props: {
iconCls: string;
} & IconButton['props']
isSelected(): boolean;
setSelected(v: boolean): void;

Loading…
Cancel
Save