From 596a32dac3f6ac15f242bb399a397ac523cc81f2 Mon Sep 17 00:00:00 2001 From: Martin Lindberg <30564420+fartinmartin@users.noreply.github.com> Date: Sun, 11 May 2025 11:48:43 -0700 Subject: [PATCH] add `findElement` --- shared/ScriptUI.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/shared/ScriptUI.d.ts b/shared/ScriptUI.d.ts index b578dcc..1f62074 100644 --- a/shared/ScriptUI.d.ts +++ b/shared/ScriptUI.d.ts @@ -2697,6 +2697,11 @@ declare class _Control { */ dispatchEvent(): Event + /** + * Searches for the named element among the children of this window or container, and returns the object if found. + */ + findElement(name: string): _Control | null + /** * Hides this element. */