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

24 lines
437 B
Markdown

---
title: focusLastActiveTextStore
---
## Summary
Set focus to the currently-focused or most recently focused text store. This is
for use, for example, by IME keyboards to return the focus to the text store
after the user clicks on an IME element, without resetting context.
## Syntax
```js
keyman.interface.focusLastActiveTextStore();
KeymanWeb.focusLastActiveTextStore();
```
### Parameters
None.
### Return Value
`undefined`