Defined in: types.d.ts:28
Definition of a Tapestry mod.
Properties
id
id:
string
Defined in: types.d.ts:32
The unique identifier for this mod. Must match [a-z][a-z0-9_]{0,63}.
Methods
onEnable()?
optionalonEnable():void
Defined in: types.d.ts:43
Optional hook called when the mod is enabled.
Returns
void
onLoad()
onLoad(
api):void
Defined in: types.d.ts:38
Hook called during the TS_READY phase to initialize the mod.
Parameters
api
any
The frozen host API surface.
Returns
void
