Core Module
The KeymanWeb core module is exposed to the developer as window.keyman.
buildProperty- The release build of KeymanWeb.
versionProperty- The version of KeymanWeb.
initializedProperty- Keymanweb core module initialization state.
activatingUIFunction- Set an internal flag to notify KeymanWeb of change in UI activation state.
addEventListenerFunction- Adds an event listener for user-handling of keymanweb events.
addHotKeyFunction- Add hot key handler to array of document-level hotkeys triggered by key-up event.
addKeyboardsFunction- Adds keyboards to keymanweb.
alignInputsFunction- Adjusts touch-mode element overlays, realigning them over their base elements.
attachToControlFunction- Attach KeymanWeb to HTML element (or IFrame).
detachFromControlFunction- Detach KeymanWeb from HTML element (or IFrame).
disableControlFunction- Disables KeymanWeb input handling for the specified control.
enableControlFunction- Enables KeymanWeb input handling for the specified control.
focusLastActiveElementFunction- Restore the focus to the element active before input was moved to KeymanWeb.
getActiveKeyboardFunction- Get the ID (internal name) of the currently active keyboard.
getActiveLanguageFunction- Get the language code for the currently selected language.
getKeyboardFunction- Get keyboard meta data for the selected keyboard and language.
getKeyboardForControlFunction- Obtain the keyboard set for a specific control, if it exists.
getKeyboardsFunction- Get details of currently installed keyboards.
getLastActiveElementFunction- Return the last element activated before input was moved to KeymanWeb.
getSavedKeyboardFunction- Get the (internal) keyboard name and language code of the most recently active keyboard.
getUIStateFunction- Get the KeymanWeb user interface activation state.
initFunction- Sets license key, selects user interface, and other KeymanWeb Options.
isChiralFunction- Test if a given keyboard recognizes chiral modifier data, such as left-control vs right-control.
isCJKFunction- Test if a given keyboard or keyboard stub (or the current keyboard) is for Chinese, Japanese, or Korean.
moveToElementFunction- Move input focus to user specified element.
removeEventListenerFunction- Removes a user-defined event handler.
removeHotKeyFunction- Remove hotkey handler from document's list of hotkey handlers.
removeKeyboardsFunction- Removes keyboards (by ID) from KeymanWeb.
resetContextFunction- Revert OSK to default layer and clear any deadkeys and modifiers
setActiveKeyboardFunction- Change the currently active keyboard.
setKeyboardForControlFunction- Associate control with independent keyboard settings initialized to a specific keyboard.


