IModuleAsset interface
Represents an asset shared between a module and the platform, via a name identifier's pre-defined by the module configuration.
Signature:
export interface IModuleAsset
Methods
Method | Description |
---|---|
addToOutput(name) | Mark this asset to be available to the Oooh platform after the module has finished running |
IModuleAsset.addToOutput() method
Warning: This API is now obsolete.
Use AssetManager.addToOutput() instead
Mark this asset to be available to the Oooh platform after the module has finished running
Signature:
addToOutput(name: string): void;
Parameters
Parameter | Type | Description |
---|---|---|
name | string | The identifier configured in the module setup |
Returns:
void
Updated 7 months ago