utils.getPath - Methods - Annotations API

Annotations API Methods

utils.getPath()

Retrieves the path (similar to startContainerPath/endContainerPath) based on the provided DOM node element and context.

Examples

itemsApp.annotationsApp().module('texthighlight').utils.getPath(['DOM-element-name','DOM-context-name']);

Arguments

  • element object

    The DOM node element.

Return value

None (undefined).

Was this article helpful?

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