Range class
- Annotations
- @Unstable.new()
- @Native.new("Range")
Constructors
- Range()
- factory
- Range.fromPoint(Point<
num> point) - factory
Properties
- collapsed→bool
- no setter
- commonAncestorContainer→Node
- no setter
- endContainer→Node
- no setter
- endOffset→int
- no setter
- hashCode→int
- The hash code for this object.no setterinherited
- runtimeType→Type
- A representation of the runtime type of the object.no setterinherited
- startContainer→Node
- no setter
- startOffset→int
- no setter
Methods
- cloneContents(
)→DocumentFragment - cloneRange(
)→Range - collapse(
[bool?toStart])→ void - compareBoundaryPoints(
inthow,RangesourceRange)→int - comparePoint(
Nodenode,intoffset)→int - createContextualFragment(
Stringfragment)→DocumentFragment - deleteContents(
)→ void - detach(
)→ void - expand(
String?unit)→ void - extractContents(
)→DocumentFragment - getBoundingClientRect(
)→Rectangle< num> - getClientRects(
)→List< Rectangle< num> > - insertNode(
Nodenode)→ void - isPointInRange(
Nodenode,intoffset)→bool - noSuchMethod(
Invocationinvocation)→ dynamic - Invoked when a nonexistent method or property is accessed.inherited
- selectNode(
Nodenode)→ void - selectNodeContents(
Nodenode)→ void - setEnd(
Nodenode,intoffset)→ void - setEndAfter(
Nodenode)→ void - setEndBefore(
Nodenode)→ void - setStart(
Nodenode,intoffset)→ void - setStartAfter(
Nodenode)→ void - setStartBefore(
Nodenode)→ void - surroundContents(
NodenewParent)→ void - toString(
)→String - A string representation of this object.inherited
Operators
- operator ==(
Objectother)→bool - The equality operator.inherited
Static Properties
- supportsCreateContextualFragment→bool
- Checks if createContextualFragment is supported.no setter
Constants
- END_TO_END→ constint
- END_TO_START→ constint
- START_TO_END→ constint
- START_TO_START→ constint