Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

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

On this page

You are viewing an old version of this documentation. Click here to open the current version, 17.0.

activatingUI

Summary

Sets an internal flag to notify KeymanWeb of change in UI activation state.

Syntax

keyman.activatingUI(state);

Parameters

state
Type: boolean|number
Used to signify if the user is interacting with KeymanWeb UI elements.

Return Value

undefined

Description

This function is used by the various non-mobile UI implementations to aid the KeymanWeb engine with internal bookkeeping. In particular, it is necessary for accurately tracking effects related to the active control when interacting with UI elements.

As a result, this function should only ever be utilized within custom UI code.