--- title: On-Screen Keyboard Module --- The On-Screen Keyboard module is exposed to the developer as `window.keyman.osk`. [`addEventListener` Function](addEventListener) : Adds an event listener for user-handling of On-Screen keyboard events. [`getRect` Function](getRect) : Get absolute position and size of OSK window. [`hide` Function](hide) : Hide the OSK. [`isEnabled` Function](isEnabled) : Return the user-defined OSK visibility as set by prior calls to show or hide. [`isVisible` Function](isVisible) : Return the actual visibility of the On-Screen Keyboard. [`removeEventListener` Function](removeEventListener) : Removes a user-defined event handler. [`restorePosition` Function](restorePosition) : Move OSK back to default position, floating under active input element. [`setPos` Function](setPos) : Set absolute position and size of desktop OSK window, limited to screen. [`setRect` Function](setRect) : Set absolute position and size of desktop OSK window. [`show` Function](show) : Display, hide or toggle OSK visibility. [`userLocated` Function](userLocated) : 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](classes) : The appearance of the KeymanWeb on-screen keyboard, menu and other elements can be customized by a web designer by redefining (or adding to) the default styles.