abstractrange.js
Interface definitions for working with ranges in HTML documents.

File Location

dom/abstractrange.js

Classes

goog.dom.AbstractRange
Creates a new selection with no properties. Do not use this constructor - use one of the goog.dom.Range.from* methods instead.
goog.dom.RangeIterator
Subclass of goog.dom.TagIterator that iterates over a DOM range. It adds functions to determine the portion of each text node that is selected.

Public Protected Private

Global Functions

goog.dom.AbstractRange.getBrowserSelectionForWindow(win)
Gets the browser native selection object from the given window.
Arguments:
win :
The window to get the selection object from.
Returns:   The browser native selection object, or null if it could not be retrieved.
code »
goog.dom.AbstractRange.isNativeControlRange(range)
Tests if the given Object is a controlRange.
Arguments:
range :
The range object to test.
Returns:   Whether the given Object is a controlRange.
code »

Directory dom

File Reference