Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 17.0 (home page)Version 16.0 (current version)Version 15.0Version 14.0Version 13.0Version 12.0Version 11.0Version 10.0Version 2.0Version 1.0 (home page)

On this page

kmw.keyboardchange Event

Summary

Called when keyboard input language changed.

Syntax

keyman.addEventListener('keyboardchange', 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

boolean
true if the event should continue processing, false if it should not. Your event handler should return true aside from exceptional circumstances.

Description

This event is utilized by the various non-mobile UI elements included with KeymanWeb.