Skip to content

Commit 596a32d

Browse files
committed
add findElement
1 parent e84efaf commit 596a32d

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

shared/ScriptUI.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2697,6 +2697,11 @@ declare class _Control {
26972697
*/
26982698
dispatchEvent(): Event
26992699

2700+
/**
2701+
* Searches for the named element among the children of this window or container, and returns the object if found.
2702+
*/
2703+
findElement(name: string): _Control | null
2704+
27002705
/**
27012706
* Hides this element.
27022707
*/

0 commit comments

Comments
 (0)