setBlackListIds - Methods - Annotations API

Annotations API Methods

setBlackListIds()

You can define what sort of id prefix Annotations API should not store. This method is mostly used if your page contains dynamic content that can change each time it gets rendered. For example, the MathJax or MathQuill content of Learnosity.

Examples

itemsApp.annotationsApp().module('texthighlight').setBlackListIds(['MathJax-']);

Arguments

  • ids string

    The prefix that changes each time it gets rendered. For example, the MathJax or MathQuill content of Learnosity.
    Note If you supply an ID like "foo" here, all IDs with 'foo' as a prefix (like 'football', 'foolish', etc.) become unhighlightable, too.

Return value

None (undefined).

Was this article helpful?

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