showOnlyCollectionId - Methods - Annotations API

Annotations API Methods

showOnlyCollectionId()

Show only the relevant sticky notes (the "collection") for the current Item in context. A group of sticky notes is known as a collection. The collection id string will be populated from the name of the Item in context. This method is useful mainly when implementing your own assessment player and switching frequently between Items -- the Learnosity Assess player calls it automatically in the background when users move between Items. It is not needed for most implementations.

Examples

itemsApp.assessApp().annotationsApp().module('stickynote').showOnlyCollectionId('Demo3');

Arguments

  • collectionId string

Return value

None (undefined).

Was this article helpful?

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