Interface: ResourceConfig
Utils.ResourceConfig
An interface representing the configuration of a resource, including its path and optional callbacks.
Properties
onLoad
• onLoad: (result
: unknown
) => void
Type declaration
▸ (result
): void
A callback function to be called when the resource is successfully loaded.
Parameters
Name | Type |
---|---|
result | unknown |
Returns
void
Defined in
path
• path: string
The path to the resource that needs to be loaded.