Anonymous

Mod Creation/Mod Context API Reference: Difference between revisions

From Melvor Idle
Line 118: Line 118:
// my-independent-script.js has NOT run yet</syntaxhighlight>
// my-independent-script.js has NOT run yet</syntaxhighlight>


=== loadTemplates(path: string): void ===
=== loadTemplates(path: string): Promise<void> ===


Inject all <template> elements contained in a given HTML file into the document body.
Inject all <template> elements contained in a given HTML file into the document body.
91

edits