Overview
Use the links in the table of contents to the left to access the documentation.
Functions
- cloneContents
- cloneRange
- collapse
- compareBoundaryPoints
- compareNode
- comparePoint
- createContextualFragment
- deleteContents
- detach
- extractContents
- insertNode
- intersectsNode
- isPointInRange
- selectNode
- selectNodeContents
- setEnd
- setEndAfter
- setEndBefore
- setStart
- setStartAfter
- setStartBefore
- surroundContents
- toString
Range cloneRange() raises(DOMException);
void collapse(
in boolean toStart) raises(DOMException);
short compareBoundaryPoints(
in CompareHow how,
in Range sourceRange) raises(DOMException);
short comparePoint(
in Node refNode,
in long offset) raises(RangeException, DOMException);
DocumentFragment createContextualFragment(
in DOMString html) raises(DOMException);
void deleteContents() raises(DOMException);
void detach() raises(DOMException);
boolean isPointInRange(
in Node refNode,
in long offset) raises(RangeException, DOMException);
DOMString toString() raises(DOMException);
Member Data
- collapsed
- commonAncestorContainer
- END_TO_END
- END_TO_START
- endContainer
- endOffset
- NODE_AFTER
- NODE_BEFORE
- NODE_BEFORE_AND_AFTER
- NODE_INSIDE
- START_TO_END
- START_TO_START
- startContainer
- startOffset
- text
readonly attribute boolean collapsed getter raises(DOMException);
readonly attribute Node commonAncestorContainer getter raises(DOMException);
const unsigned short END_TO_END = 2;
const unsigned short END_TO_START = 3;
readonly attribute Node endContainer getter raises(DOMException);
readonly attribute long endOffset getter raises(DOMException);
const unsigned short NODE_AFTER = 1;
const unsigned short NODE_BEFORE = 0;
const unsigned short NODE_BEFORE_AND_AFTER = 2;
const unsigned short NODE_INSIDE = 3;
const unsigned short START_TO_END = 1;
const unsigned short START_TO_START = 0;
readonly attribute Node startContainer getter raises(DOMException);
readonly attribute long startOffset getter raises(DOMException);
readonly attribute DOMString text;
Last Updated: 2009-05-29