AbstractRange class

The abstract interface is the base class upon which all DOM range types are defined. A range is an object that indicates the start and end points of a section of content within the document.

Note: As an abstract interface, you will not directly instantiate an object of type . Instead, you will use the Range or StaticRange interfaces. To understand the difference between those two interfaces, and how to choose which is appropriate for your needs.

Implementers
Available extensions
Annotations
  • @JS.new()
  • @staticInterop

Constructors

AbstractRange()
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