|
|
@ -40,8 +40,10 @@ export interface _Widget extends _OB { |
|
|
|
* 真实dom的类jQuery对象 |
|
|
|
* 真实dom的类jQuery对象 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
element: { |
|
|
|
element: { |
|
|
|
width(width?: number): number; |
|
|
|
width(): number; |
|
|
|
height(height?: number): number; |
|
|
|
height(): number; |
|
|
|
|
|
|
|
width(width: number): _Widget['element']; |
|
|
|
|
|
|
|
height(height: number): _Widget['element']; |
|
|
|
[key: string]: any; |
|
|
|
[key: string]: any; |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
@ -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; |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|