StaticRange class

The DOM 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 are not available from web workers.

AbstractRange

StaticRange

Implemented types
Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

StaticRange(StaticRangeInit init)
factory

Properties

collapsed bool

Available on AbstractRange, provided by the PropsAbstractRange extension

no setter
endContainer Node

Available on AbstractRange, provided by the PropsAbstractRange extension

no setter
endOffset int

Available on AbstractRange, provided by the PropsAbstractRange extension

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

Available on AbstractRange, provided by the PropsAbstractRange extension

no setter
startOffset int

Available on AbstractRange, provided by the PropsAbstractRange extension

no setter

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