exitHighlightMode - Methods - Annotations API

Annotations API Methods

exitHighlightMode()

Exits keyboard highlight mode.

You would want to use this so that learners can stop selecting and highlighting text with the keyboard.

When keyboard highlight mode is exited, the caret is hidden and learners can no longer highlight text using keyboard controls.

Examples

itemsApp.assessApp().annotationsApp().module('texthighlight').exitHighlightMode();

Arguments

None.

Return value

None (undefined).

Versioning

Version added: v2026.2.LTS (now live in developer)

Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.