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 initialized1
, if Keyman Engine for Web has started initialization2
, 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
, or2
. - 16.0: Documentation updated to match implementation.