Extensions add specific functionality to Learnosity APIs. They rely on modules within LT being available.
--
Adds an interactive table for users to author dynamic content. Users can also upload a file to populate the table, and export any data to work on it locally.
Supported file types for import: csv, xls, xlsx, ods, and txt.
Methods
run(optionsopt)
Sets up a listener when the data table panel opens to inject new behaviour to author dynamic content.
Since
- 2.24.0
Example
import { LT } from '@caspingus/lt/src/index';
LT.init(authorApp); // Set up LT with the Author API application instance variable
LT.extensions.dynamicContent.run();
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
options |
object |
<optional> |
Optional configuration.
|