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

detachFromControl

Summary

Detach KeymanWeb from HTML element (or IFrame).

Syntax

keyman.detachFromControl(Pelem);

Parameters

Pelem
Type: Element
Element for KeymanWeb to detach from, no longer handling input.

Return Value

undefined

Description

This function entirely detaches KeymanWeb from the specified control, removing all specialized input handling and data tracking for the element. As such, detaching effectively 'resets' the control's state entirely, save for any previously-input text.

For more information about attachment, see keyman.attachToControl().

Contrast with keyman.disableControl().