Browse Source

加上visibleToUser

master
kai 1 year ago
parent
commit
061c6b6c84
  1. 1
      src/index.ts
  2. 6
      types/widget-operation.d.ts

1
src/index.ts

@ -0,0 +1 @@
id('res').bounds(0, 0, 100, 100).visibleToUser()

6
types/widget-operation.d.ts

@ -397,6 +397,12 @@ declare module 'widget-operation' {
*/
idMatches(reg: RegExp | string): this;
/**
* @description: ,(,)
* @return {this} 便
*/
visibleToUser(): Rect;
/**
* @description: `className` `str` `className` `android.widget.TextView` `android.widget.` `className('TextView')`
* @param {string} str `className`

Loading…
Cancel
Save