Browse Source

Pull request #1673: 无JIRA任务 声明补充

Merge in VISUAL/fineui from ~WINDY/fui:master to master

* commit '0f9d5eb7c0841851aa1ca6b6397b56ebee3469b3':
  update
  update
  无JIRA任务 声明补充
es6
windy 4 years ago
parent
commit
625f046cef
  1. 8
      typescript/core/widget.ts

8
typescript/core/widget.ts

@ -42,6 +42,8 @@ export interface _Widget extends _OB {
element: { element: {
width(): number; width(): number;
height(): number; height(): number;
width(width: number): _Widget['element'];
height(height: number): _Widget['element'];
[key: string]: any; [key: string]: any;
}; };
@ -79,7 +81,7 @@ export interface _Widget extends _OB {
* *
*/ */
beforeInit?(cb: Function): void; beforeInit?(cb: Function): void;
/** /**
* *
*/ */
@ -442,6 +444,8 @@ export declare class Widget extends OB {
element: { element: {
width(): number; width(): number;
height(): number; height(): number;
width(width: number): Widget['element'];
height(height: number): Widget['element'];
[key: string]: any; [key: string]: any;
}; };
@ -479,7 +483,7 @@ export declare class Widget extends OB {
* *
*/ */
beforeInit?(cb: Function): void; beforeInit?(cb: Function): void;
/** /**
* *
*/ */

Loading…
Cancel
Save