Table of Contents

Class StaticRange

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll

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.

[Value("StaticRange")]
public class StaticRange : AbstractRange
Inheritance
StaticRange
Inherited Members

Remarks

This interface offers the same set of properties and methods as AbstractRange.

AbstractRange and StaticRange are not available from web workers.

-Live updating range of content within the DOM: Range
-AbstractRange, the abstract interface from which all ranges are derived

See also on MDN

Constructors

StaticRange()

public StaticRange()

StaticRange(StaticRangeInit)

The StaticRange() constructor
creates a new StaticRange object representing a span of content within
the DOM.

public StaticRange(StaticRangeInit init)

Parameters

init StaticRangeInit

Remarks

This constructor includes properties identifying the start and end positions of
the range as well as a Boolean indicating whether or not the range is
collapsed (that is, empty).

See also on MDN