|
|
@ -40,8 +40,8 @@ export interface _Widget extends _OB { |
|
|
|
* 真实dom的类jQuery对象 |
|
|
|
* 真实dom的类jQuery对象 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
element: { |
|
|
|
element: { |
|
|
|
width(): number; |
|
|
|
width(width?: number): number; |
|
|
|
height(): number; |
|
|
|
height(height?: number): number; |
|
|
|
[key: string]: any; |
|
|
|
[key: string]: any; |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
@ -79,7 +79,7 @@ export interface _Widget extends _OB { |
|
|
|
* 初始化前 |
|
|
|
* 初始化前 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
beforeInit?(cb: Function): void; |
|
|
|
beforeInit?(cb: Function): void; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 创建前 |
|
|
|
* 创建前 |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -479,7 +479,7 @@ export declare class Widget extends OB { |
|
|
|
* 初始化前 |
|
|
|
* 初始化前 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
beforeInit?(cb: Function): void; |
|
|
|
beforeInit?(cb: Function): void; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 创建前 |
|
|
|
* 创建前 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|