Skip to main content
Defined in: packages/common/src/context/context.type.ts:81 Public surface of the engine’s built-in asset library, always present on Context.assets regardless of which libraries an app registers.

Methods

getAsset()

Call Signature

getAsset(path): NfFile
Defined in: packages/common/src/context/context.type.ts:82
Parameters
path
string
Returns
NfFile

Call Signature

getAsset(path): undefined
Defined in: packages/common/src/context/context.type.ts:83
Parameters
path
"" | undefined
Returns
undefined