Skip to content

Tapestry API


define(definition): void

Defined in: types.d.ts:53

Defines and registers a new Tapestry mod. Exactly one call per file is required.

Parameters

definition

ModDefinition

The mod configuration and hooks.

Returns

void

Throws

if called multiple times in one file or outside TS_LOAD phase.