Browse Source

Pull request #1867: KERNEL-7314 refactor:修改类型

Merge in VISUAL/fineui from ~JIMMY.CHAI/fineui:master to master

* commit '31ff521e596e77315598088211b25020125320c8':
  KERNEL-7314 refactor:修改类型
master
Jimmy.Chai 4 years ago
parent
commit
4af66e44ef
  1. 10
      typescript/base/single/button/buttons/button.image.ts
  2. 4
      typescript/core/widget.ts

10
typescript/base/single/button/buttons/button.image.ts

@ -4,13 +4,9 @@ export declare class ImageButton extends BasicButton {
static xtype: string;
static EVENT_CHANGE: string;
setWidth(w: number): void;
setImageWidth(w: number | string): void;
setHeight(h: number): void;
setImageWidth(w: number): void;
setImageHeight(h: number): void;
setImageHeight(h: number | string): void;
getImageWidth(): number;
@ -19,6 +15,4 @@ export declare class ImageButton extends BasicButton {
setSrc(src: string): void;
getSrc(): string;
doClick(): void;
}

4
typescript/core/widget.ts

@ -600,12 +600,12 @@ export declare class Widget extends OB {
/**
*
*/
setWidth(w: number): void;
setWidth(w: number | string): void;
/**
*
*/
setHeight(h: number): void;
setHeight(h: number | string): void;
/**
*

Loading…
Cancel
Save