T

RegisteredAsset

A registered asset: its id, and the function that takes it out of the registry.

type RegisteredAsset = { … }

Members

idnumber

The asset registry id, which an image source or an icon option takes.

unregister() => void

Takes the asset out of the registry; registering its name again reuses the id.