Properties
anchorNode
Defined in opt/hostedtoolcache/node/12.18.1/x64/lib/node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:15031
anchorOffset
anchorOffset: number
Defined in opt/hostedtoolcache/node/12.18.1/x64/lib/node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:15032
focusNode
Defined in opt/hostedtoolcache/node/12.18.1/x64/lib/node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:15033
focusOffset
focusOffset: number
Defined in opt/hostedtoolcache/node/12.18.1/x64/lib/node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:15034
isCollapsed
isCollapsed: boolean
Defined in opt/hostedtoolcache/node/12.18.1/x64/lib/node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:15035
rangeCount
rangeCount: number
Defined in opt/hostedtoolcache/node/12.18.1/x64/lib/node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:15036
type
type: string
Defined in opt/hostedtoolcache/node/12.18.1/x64/lib/node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:15037
Methods
addRange
addRange( range: Range ) : void
Defined in opt/hostedtoolcache/node/12.18.1/x64/lib/node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:15038
Parameters
Returns void
collapse
collapse( node: Node | null , offset?: undefined | number ) : void
Defined in opt/hostedtoolcache/node/12.18.1/x64/lib/node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:15039
Parameters
node: Node | null
Optional offset: undefined | number
Returns void
collapseToEnd
Defined in opt/hostedtoolcache/node/12.18.1/x64/lib/node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:15040
Returns void
collapseToStart
Defined in opt/hostedtoolcache/node/12.18.1/x64/lib/node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:15041
Returns void
containsNode
containsNode( node: Node , allowPartialContainment?: undefined | false | true ) : boolean
Defined in opt/hostedtoolcache/node/12.18.1/x64/lib/node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:15042
Parameters
Optional allowPartialContainment: undefined | false | true
Returns boolean
deleteFromDocument
deleteFromDocument( ) : void
Defined in opt/hostedtoolcache/node/12.18.1/x64/lib/node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:15043
Returns void
empty
Defined in opt/hostedtoolcache/node/12.18.1/x64/lib/node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:15044
Returns void
extend
extend( node: Node , offset?: undefined | number ) : void
Defined in opt/hostedtoolcache/node/12.18.1/x64/lib/node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:15045
Parameters
Optional offset: undefined | number
Returns void
getRangeAt
getRangeAt( index: number ) : Range
Defined in opt/hostedtoolcache/node/12.18.1/x64/lib/node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:15046
Parameters
removeAllRanges
Defined in opt/hostedtoolcache/node/12.18.1/x64/lib/node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:15047
Returns void
removeRange
removeRange( range: Range ) : void
Defined in opt/hostedtoolcache/node/12.18.1/x64/lib/node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:15048
Parameters
Returns void
selectAllChildren
selectAllChildren( node: Node ) : void
Defined in opt/hostedtoolcache/node/12.18.1/x64/lib/node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:15049
Parameters
Returns void
setBaseAndExtent
setBaseAndExtent( anchorNode: Node , anchorOffset: number , focusNode: Node , focusOffset: number ) : void
Defined in opt/hostedtoolcache/node/12.18.1/x64/lib/node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:15050
Parameters
anchorNode: Node
anchorOffset: number
focusNode: Node
focusOffset: number
Returns void
setPosition
setPosition( node: Node | null , offset?: undefined | number ) : void
Defined in opt/hostedtoolcache/node/12.18.1/x64/lib/node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:15051
Parameters
node: Node | null
Optional offset: undefined | number
Returns void
Legend
Module
Object literal
Variable
Function
Function with type parameter
Index signature
Type alias
Type alias with type parameter
Enumeration
Enumeration member
Property
Method
Interface
Interface with type parameter
Constructor
Property
Method
Index signature
Class
Class with type parameter
Constructor
Property
Method
Accessor
Index signature
Inherited constructor
Inherited property
Inherited method
Inherited accessor
Protected property
Protected method
Protected accessor
Private property
Private method
Private accessor
Static property
Static method
A Selection object represents the range of text selected by the user or the current position of the caret. To obtain a Selection object for examination or modification, call Window.getSelection().