goog.editor.range.Point
Classgoog.editor.range.Point(node, offset)
One endpoint of a range, represented as a Node and and offset.
node
{Node
}
offset
{number
}
.createDeepestPoint(node, offset, opt_trendLeft)
Construct the deepest possible point in the DOM that's equivalent to the given point, expressed as a node and an offset.
node
{Node
}
offset
{number
}
opt_trendLeft
{boolean
=}
goog.editor.range.Point
}
.getParentPoint()
Gets the point of this point's node in the DOM.
goog.editor.range.Point
}
.getPointAtEndOfNode(node)
Construct a point at the very end of the given node.
node
{Node
}
goog.editor.range.Point
}
.node
{Node
}The node containing the point.
.offset
{number
}The offset of the point into the node.