API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

T

typeAssetLeaf

@codexo/exojs / assets / stable

What an asset type hands out for one of its assets inside a catalog, before the payload has arrived. `'ref'` hands out a deferred AssetRef that resolves once the load settles - the right shape for a decoded value nobody can render early. A SeamlessAdapter hands out the resource itself, empty, and transplants the payload into that same object when it arrives, so consumers wired to it need no re-wiring. `'none'` declares that the type has no meaningful placeholder at all. Its assets cannot appear in a catalog by bare path and must be named explicitly with AssetType.asset.

0
props
0
methods
0
events
Import
import { AssetLeaf } from '@codexo/exojs'

What an asset type hands out for one of its assets inside a catalog, before the payload has arrived.

`'ref'` hands out a deferred AssetRef that resolves once the load settles - the right shape for a decoded value nobody can render early.

A SeamlessAdapter hands out the resource itself, empty, and transplants the payload into that same object when it arrives, so consumers wired to it need no re-wiring.

`'none'` declares that the type has no meaningful placeholder at all. Its assets cannot appear in a catalog by bare path and must be named explicitly with AssetType.asset.

Definition1
Source