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

keyman.initialized


Summary

Keymanweb core module initialization state flag.

Syntax

    keyman.initialized

Type

Integer

Access

Read only

Return Value

  • 0, if Keyman Engine for Web is not initialized
  • 1, if Keyman Engine for Web has started initialization
  • 2, if Keyman Engine for Web is completely initialized

Description

The keyman.init() function is used to initialize Keyman. You can check this flag to see what the current initialization status is. You should not call functions other than keyman.init() until Keyman initialization is complete. As keyman.init() returns a Promise, the Promise fulfilment callback is the appropriate place to perform post-init steps.

History

  • 2.0: Keyman Engine for Web supports values 0, 1, or 2.
  • 16.0: Documentation updated to match implementation.