This is a lower-level API. Lower-level APIs are not recommended for most projects, and may not be available on all plans. See our page on recommended deployment patterns for more information.
Public Method Annotations API

utils.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.assessApp().annotationsApp().module('texthighlight').utils.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?