Check if this position is equal to the given position
The position to check
Checks if this position is after the given position
The position to check
Move this position with offset, returns a new position with a valid offset in the same node
Offset to move with
Normalize this position to the leaf node, return the normalize result. If current position is already using leaf node, return this position object itself
Generated using TypeDoc
Represent a position in DOM tree by the node and its offset index