mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 16:35:33 +00:00
40 lines
808 B
Markdown
40 lines
808 B
Markdown
---
|
|
title: KMManager.setShouldCheckKeyboardUpdates()
|
|
---
|
|
|
|
## Summary
|
|
|
|
The **`setShouldCheckKeyboardUpdates()`** method sets whether Keyman
|
|
Engine should check for keyboard updates.
|
|
|
|
## Syntax
|
|
|
|
``` javascript
|
|
KMManager.setShouldCheckKeyboardUpdates(boolean newValue)
|
|
```
|
|
|
|
### Parameters
|
|
|
|
`newValue`
|
|
: If `false`, Keyman Engine will not check for keyboard updates.
|
|
|
|
## Description
|
|
|
|
Use this method to enable or disable keyboard updates when the keyboard
|
|
picker menu is displayed.
|
|
|
|
## Examples
|
|
|
|
### Example: Using `setShouldCheckKeyboardUpdates()`
|
|
|
|
The following script illustrate the use of
|
|
`setShouldCheckKeyboardUpdates()`:
|
|
|
|
``` javascript
|
|
// Disable keyboard updates.
|
|
KMManager.setShouldCheckKeyboardUpdates(false);
|
|
```
|
|
|
|
## See also
|
|
|
|
- [`shouldCheckKeyboardUpdates`](shouldCheckKeyboardUpdates)
|