The container node for the "target", where "target" can be a node in the DOM tree or a character offset. The container can be a Element, Text, Document or DocumentFragment node.
The file path to the document
Set if intended target type is 'element' and there was a character offset defined.
Used for referencing the "alt" text in elements.
If all indirections were resolved successfully.
If the epubcfi intended to target a characters or an element. This depends if the terminal step in this path was odd or even.
All local paths that were resolved in this path.
The childNode offset into container
Will be set if the terminal step of the path contained the assertion parameter 's' with a valid value.
The spatial offset if any.
If steps were resolved, i.e. the steps pointed to existing or virtual nodes, or were recovered using assertions. Will be false if any indirection failed to resolve.
The temporal offset if any,
If this path uses a virtual target, targeting 'firstChild' or the 'lastChild'. This will be set if the epubcfi ends with a step of 0 or N+2 where N is the last valid element step. If a step was larger than N+2, virtualTarget will be set to 'lastChild' and stepsResolved to false.
Get the target Element, if the intended target was en element and it is not the virtual first or virtual last element.
Get the target node for this local path, unless the target is a virtual Target in which case the container is returned instead.
Generated using TypeDoc
The AST used to resolve this path.