drawing - Initialization - Annotations API

Annotations API Initialization


Enables the drawing module, which allows users to annotate the page with a freehand drawing tool.


Attribute path drawing

Type object


  • colors array[string]

    By default, Learnosity provides CSS class names for the colors such as "theme_1", or "theme_2" so the highlight Items will have the classname "lrn-annotations-color--theme-1".

  • show_grid boolean

    Toggles the background grid display on and off.

Was this article helpful?

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