StaticRange extension type
The
DOM
StaticRange
interface extends AbstractRange to provide a method to
specify a range of content in the DOM whose contents don't update to reflect
changes which occur within the DOM tree.
This interface offers the same set of properties and methods as
AbstractRange
.
AbstractRange
and StaticRange
are not available from
web workers.
API documentation sourced from MDN Web Docs.
- on
- Implemented types
- Available extensions
Constructors
- StaticRange(StaticRangeInit init)
-
factory
Properties
- collapsed → bool
-
The read-only
collapsed
property of the AbstractRange interface returnstrue
if the range's start position and end position are the same.no setterinherited - endContainer → Node
-
The read-only
endContainer
property of the AbstractRange interface returns the Node in which the end of the range is located.no setterinherited - endOffset → int
-
The
endOffset
property of the AbstractRange interface returns the offset into the end node of the range's end position.no setterinherited - 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
-
The read-only
startContainer
property of the AbstractRange interface returns the start Node for the range.no setterinherited - startOffset → int
-
The read-only
startOffset
property of the AbstractRange interface returns the offset into the start node of the range's start position.no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited