Extensions/Assessment/contentTabs

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

--

Renders styles and responsive logic for LT content tabs.

Pass in a theme option to change the look of the tabs.

Methods

run(optionsopt)

Since
2.19.0
Example
import { LT } from '@caspingus/lt/src/assessment/core';
import * as contentTabs from '@caspingus/lt/src/assessment/extensions/ui/contentTabs/index';

LT.init(itemsApp); // Set up LT with the Items API application instance variable
contentTabs.run();
Parameters:
Name Type Attributes Description
options object <optional>

Optional configuration object includes:

  • theme (string) Which tabs theme to load. Default is default. Also rounded.