+ +

Extensions/Authoring/createTags

+ + + + + + + +
+ +
+ +
+ +
+ +
+ + + + +

Extensions add specific functionality to Learnosity APIs. +They rely on modules within LT being available.

+

--

+

Adds the ability for authors to create tags (type:tag) +via the Author API if they don't yet exist in the item bank.

+

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ + + + + + + + + + + + + + + + + +

Methods

+ + + + + + +

run()

+ + + + + + + +

Sets up a listener when the tags panel opens to inject +new behaviour to create a tag type:tag.

+ +
+ + + + + + + +
Since
+
2.18.0
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
Example
+ +
import { LT } from '@caspingus/lt/src/index';
+
+LT.init(authorApp); // Set up LT with the Author API application instance variable
+LT.extensions.createTags.run();
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +