spiegel-keyman/web/docs/engine/reference/interface/FocusLastActiveElement.md
Marc Durdin 0fc869faa4 fix(web): define IME interfaces in KeyboardInterfaceBase
Ensure that the IME interface methods are all defined for both browser
and webview modes. Deprecate 'Element' methods and replace with
'TextStore' to clarify return type. Add deprecation flags where needed
and update documentation accordingly.

Fixes: #16144
2026-07-01 07:43:08 +02:00

786 B

title
FocusLastActiveElement (deprecated)

Summary

Restore the focus to the text store active before input was moved to KeymanWeb.

Note that the name is misleading: this function move focus to the last active TextStore, not the last active HTMLElement (in practice, this is equivalent in a web browser context).

Syntax

keyman.interface.FocusLastActiveElement();
keyman.interface.focusLastActiveElement();
KeymanWeb.FocusLastActiveElement();
KeymanWeb.focusLastActiveElement();

Parameters

None.

Return Value

undefined

Replaced By

This function is deprecated; see instead:

See also