scripting: calling setFocus() without if now unfocuses active element

This commit is contained in:
jean-emmanuel 2025-12-14 14:41:05 +01:00
parent 42b71ef6fc
commit 31f4119442
3 changed files with 4 additions and 1 deletions

View file

@ -303,7 +303,7 @@ Reference:
- `id` (optional): widget `id` as a string
Gives focus to a widget (ie input widget).
Gives focus to a widget (ie input widget). If `id` is omitted or falsy, currently focused element will be unfocused.
*Built-in client only*: tells the operating system to give the focus to the client window