Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 18.0Version 17.0 (current version)

On this page

LdmlKeyboardCompiler.init() method

Home > @keymanapp/kmc-ldml > LdmlKeyboardCompiler > init

LdmlKeyboardCompiler.init() method

Initialize the compiler, including loading the WASM host for uset parsing. Copies options.

Signature:

init(callbacks: CompilerCallbacks, options: LdmlCompilerOptions): Promise<boolean>;

Parameters

Parameter Type Description
callbacks CompilerCallbacks Callbacks for external interfaces, including message reporting and file io
options LdmlCompilerOptions Compiler options

Returns:

Promise<boolean>

false if initialization fails