Extensions add specific functionality to Items API. They rely on modules within LT being available.
--
Checks for an active network connection. If none found, adds an icon to the UI to indicate the status to the end user.
Methods
run(optionsopt)
Since
- 2.12.0
Example
import { LT } from '@caspingus/lt/src/assessment/core';
import * as networkStatus from '@caspingus/lt/src/assessment/extensions/ui/networkStatus/index';
LT.init(itemsApp); // Set up LT with the Items API application instance variable
networkStatus.run();
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
options |
object |
<optional> |
Optional configuration object includes:
|