Extensions/Assessment/ariaCountOnNav

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

--

Listens for the item load event and appends of {totalItems} to the aria-label for the previous and next buttons.

Methods

run()

Executes on item load to add custom label.

Since
0.3.0
Example
import { LT } from '@caspingus/lt/src/assessment/index';

LT.init(itemsApp); // Set up LT with the Items API application instance variable
LT.extensions.ariaCountOnNav.run();