EFB Instance

Methods

loadCss

loadCss(uri): Promise(opens in a new tab)<void>

Load stylesheet

Parameters
NameType
uristring

Returns

Promise(opens in a new tab)<void>

Promise which is resolved when stylesheet is loaded or rejected if an error occur.


loadJs

loadJs(uri): Promise(opens in a new tab)<void>

Load script file

Parameters
NameType
uristring

Returns

Promise(opens in a new tab)<void>

Promise which is resolved when script is loaded or rejected if an error occur.


use

use<T>(app, ...options): this

Register an app in EFB

Type parameters
NameTypeDescription
Textends object = objectApp registration options
Parameters
NameTypeDescription
appAppConstructor<T> | App<T>The app you wan’t to register
...optionsPartial(opens in a new tab)<T>[]Options you’r app might need when installing

Returns

this

EFB instance

Throws

Throw an error if App install went wrong.