stickynote - Annotations API

Sticky Note Module

The following methods are available for the sticky note module.

  • addNote function

    Add one new sticky note to the page.

  • render function

    Render all stored stickynotes that belong to the current Annotations instance's group_id.

  • getNote function

    Returns a reference to an instance of one sticky note as an object for manipulation.

  • getAllNotes function

    Returns a collection of sticky note instances.

  • expandAllNotes function

    Sets all sticky notes to the "expanded" state.

  • collapseAllNotes function

    Sets all sticky notes to the "collapsed" state.

  • showAllNotes function

    Shows all sticky notes on the page.

  • show function

    Shows all sticky notes on the page.

  • hideAllNotes function

    Hides all sticky notes on the page.

  • hide function

    Hides all sticky notes on the page.

  • showOnlyCollectionId function

    Show only the relevant sticky notes (the "collection") for the current Item in context.

Was this article helpful?

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