search

goog.dom.NodeOffset

Provided By
Extends
All Implemented Interfaces

Object to store the offset from one node to another in a way that works on any similar DOM structure regardless of whether it is the same actual nodes.

new NodeOffset( node, baseNode )

Parameters
node(Node|null)

The node to get the offset for.

baseNode(Node|null)

The node to calculate the offset from.

Instance Methods

Instance Properties