windy 4 years ago
parent
commit
2d60b74f1f
  1. 8
      typescript/core/widget.ts

8
typescript/core/widget.ts

@ -40,8 +40,10 @@ export interface _Widget extends _OB {
* dom的类jQuery对象
*/
element: {
width(width?: number): number;
height(height?: number): number;
width(): number;
height(): number;
width(width: number): _Widget['element'];
height(height: number): _Widget['element'];
[key: string]: any;
};
@ -442,6 +444,8 @@ export declare class Widget extends OB {
element: {
width(): number;
height(): number;
width(width: number): _Widget['element'];
height(height: number): _Widget['element'];
[key: string]: any;
};

Loading…
Cancel
Save