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

26 lines
401 B
Markdown

---
title: getLastActiveTextStore
---
## Summary
Get the currently or most recently focused text store. This is for use by IME
keyboards, to allow for more complex focus interactions when clicking IME
elements.
## Syntax
```js
keyman.interface.getLastActiveTextStore();
KeymanWeb.getLastActiveTextStore();
```
### Parameters
None.
### Return Value
`TextStore`
: The last active text store.