Renders the periodic table of elements as HTML, either in a dialog or a new tab.
Parameters:
Name | Type | Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
options | object | <optional> | Object of configuration options. Properties
|
Example
const options = {
message: {
header: 'Periodic Table of Elements',
}
}
LT.init(itemsApp, {
extensions: [
{ id: 'periodicTable', args: options },
],
});
LT.extensions.resources.periodicTable.launch(); // Default to native Learnosity dialog
LT.extensions.resources.periodicTable.launch('tab');