mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-06 08:55:34 +00:00
Note: build.sh updated to make sure that test:help build action:target doesn't also call test.sh by adding `:_all` meta-target. Note: CI will need a new help-keyman-com.sh build step to deploy web engine help. Fixes: #12347
680 B
680 B
| title |
|---|
| keyman.beforekeyboardchange Event |
Summary
Called when keyboard input language is about to change.
Syntax
keyman.addEventListener('beforekeyboardchange', function(keyboardProperties) {
...
});
Parameters
keyboardProperties- Type:
object - An object with the following properties:
-
internalName- the keyboard's name
-
languageCode- its BCP 47 language code.
Return Value
booleantrueif the event should continue processing,falseif it should not. Your event handler should returntrueaside from exceptional circumstances.
Description
This event is designed to be used with UI modules.