Extensions/Assessment/resources/periodicTable

Extensions add specific functionality to Items API. They rely on modules within LT being available.

--

Renders the periodic table of elements as HTML, either in a dialog or a new tab.

Methods

run(config)

Parameters:
NameTypeDescription
configObject

Configuration object for the periodic table. message.header - Header text for the periodic table.

Since
3.0.0
Example
import { LT } from '@caspingus/lt/assessment';

LT.init(itemsApp); // Set up LT with the Items API application instance variable
LT.extensions.resources.periodicTable.run();
LT.extensions.resources.periodicTable.launch(); // Default to native Learnosity dialog

LT.extensions.resources.periodicTable.launch('tab');