Browse Source

refactor: 完善element类型

es6
iapyang 5 years ago
parent
commit
be5788e704
  1. 6
      typescript/core/widget.ts

6
typescript/core/widget.ts

@ -33,7 +33,11 @@ export interface _Widget extends _OB {
/** /**
* dom的类jQuery对象 * dom的类jQuery对象
*/ */
element: any; element: {
width(): number;
height(): number;
[key: string]: any;
};
/** /**
* *
*/ */

Loading…
Cancel
Save