mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 16:35:33 +00:00
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
26 lines
401 B
Markdown
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.
|
|
|