Core Module
The KeymanWeb core module is exposed to the developer as window.keyman.
buildPropertyThe release build of KeymanWeb.
versionPropertyThe version of KeymanWeb.
initializedPropertyKeymanweb core module initialization state.
activatingUIFunctionSet an internal flag to notify KeymanWeb of change in UI activation state.
addEventListenerFunctionAdds an event listener for user-handling of keymanweb events.
addHotKeyFunctionAdd hot key handler to array of document-level hotkeys triggered by key-up event.
addKeyboardsFunctionAdds keyboards to keymanweb.
addKeyboardsForLanguageFunctionAdds default or all keyboards for a given language to keymanweb.
alignInputsFunctionDeprecated. Adjusts touch-mode element overlays, realigning them over their base elements.
attachToControlFunctionAttach KeymanWeb to HTML element (or IFrame).
-
BuildVisualKeyboardFunction Create a copy of the OSK for embedding in documentation or help page.
detachFromControlFunctionDetach KeymanWeb from HTML element (or IFrame).
disableControlFunctionDisables KeymanWeb input handling for the specified control.
enableControlFunctionEnables KeymanWeb input handling for the specified control.
focusLastActiveElementFunctionRestore the focus to the element active before input was moved to KeymanWeb.
getActiveKeyboardFunctionGet the ID (internal name) of the currently active keyboard.
getActiveLanguageFunctionGet the language code for the currently selected language.
getKeyboardFunctionGet keyboard meta data for the selected keyboard and language.
getKeyboardForControlFunctionObtain the keyboard set for a specific control, if it exists.
getKeyboardsFunctionGet details of currently installed keyboards.
getLastActiveElementFunctionReturn the last element activated before input was moved to KeymanWeb.
getSavedKeyboardFunctionGet the (internal) keyboard name and language code of the most recently active keyboard.
getUIStateFunctionGet the KeymanWeb user interface activation state.
initFunctionSets license key, selects user interface, and other KeymanWeb Options.
isChiralFunctionTest if a given keyboard recognizes chiral modifier data, such as left-control vs right-control.
isCJKFunctionTest if a given keyboard or keyboard stub (or the current keyboard) is for Chinese, Japanese, or Korean.
moveToElementFunctionMove input focus to user specified element.
removeEventListenerFunctionRemoves a user-defined event handler.
removeHotKeyFunctionRemove hotkey handler from document's list of hotkey handlers.
removeKeyboardsFunctionRemoves keyboards (by ID) from KeymanWeb.
resetContextFunctionRevert OSK to default layer and clear any deadkeys and modifiers
setActiveKeyboardFunctionChange the currently active keyboard.
setKeyboardForControlFunctionAssociate control with independent keyboard settings initialized to a specific keyboard.


