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/assessment';

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

Optional configuration object includes:

  • theme (string) Which tabs theme to load. Options are rounded (default) and api-column-tabs.