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
).