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
24 lines
437 B
Markdown
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`
|