StaticRange

@native @JSGlobal @JSType

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.

class Object
trait Any
class Object
trait Matchable
class Any

Value members

Inherited methods

def collapsed: Boolean

The Range.collapsed read-only property returns a Boolean flag indicating whether the start and end points of the Range are at the same position. It returns true if the start and end boundary points of the Range are the same point in the DOM, false if not.

The Range.collapsed read-only property returns a Boolean flag indicating whether the start and end points of the Range are at the same position. It returns true if the start and end boundary points of the Range are the same point in the DOM, false if not.

Inherited from:
AbstractRange

The Range.endContainer read-only property returns the Node within which the Range ends. To change the end position of a node, use the Range.setEnd() method or a similar one.

The Range.endContainer read-only property returns the Node within which the Range ends. To change the end position of a node, use the Range.setEnd() method or a similar one.

Inherited from:
AbstractRange
def endOffset: Int

The Range.endOffset read-only property returns a number representing where in the Range.endContainer the Range ends.

The Range.endOffset read-only property returns a number representing where in the Range.endContainer the Range ends.

Inherited from:
AbstractRange
def hasOwnProperty(v: String): Boolean
Inherited from:
Object
def isPrototypeOf(v: Object): Boolean
Inherited from:
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from:
Object

The Range.startContainer read-only property returns the Node within which the Range starts. To change the start position of a node, use one of the Range.setStart() methods.

The Range.startContainer read-only property returns the Node within which the Range starts. To change the start position of a node, use one of the Range.setStart() methods.

Inherited from:
AbstractRange
def startOffset: Int

The Range.startOffset read-only property returns a number representing where in the startContainer the Range starts.

The Range.startOffset read-only property returns a number representing where in the startContainer the Range starts.

Inherited from:
AbstractRange
def toLocaleString(): String
Inherited from:
Object
def valueOf(): Any
Inherited from:
Object