Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

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

On this page

On-Screen Keyboard Module

The On-Screen Keyboard module is exposed to the developer as window.keyman.osk.

addEventListener Function
Adds an event listener for user-handling of On-Screen keyboard events.
getRect Function
Get absolute position and size of OSK window.
setRect Function
Set absolute position and size of desktop OSK window.
setPos Function
Set absolute position and size of desktop OSK window, limited to screen.
hide Function
Hide the OSK.
isEnabled Function
Return the user-defined OSK visibility as set by prior calls to show or hide.
isVisible Function
Return the actual visibility of the On-Screen Keyboard.
removeEventListener Function
Removes a user-defined event handler.
restorePosition Function
Move OSK back to default position, floating under active input element.
show Function
Display, hide or toggle OSK visibility.
userLocated Function
Determine whether or not the OSK has been moved from its default position by the user.
Class Names and Identifiers for On-Screen Keyboard and Other KeymanWeb Elements
The appearance of the KeymanWeb on-screen keyboard, menu amd other elements can be customized by a web designer by redefining (or adding to) the default styles.