spiegel-keyman/web/docs/engine/reference/interface/GetLastActiveElement.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

812 B

title
GetLastActiveElement (deprecated)

Summary

Returns the last active target text store before the current KMW operation.

Note that the name is misleading: this function returns the last active TextStore, not the last active HTMLElement. Use instead keyman.interface.getLastActiveTextStore().

Syntax

keyman.interface.GetLastActiveElement();
keyman.interface.getLastActiveElement();
KeymanWeb.GetLastActiveElement();
KeymanWeb.getLastActiveElement();

Parameters

None.

Return Value

TextStore
The requested text store.

Replaced By

This function is deprecated; see instead:

See also