Library
core
src
node
el
controls
pointer
classes
Pointerranges

Lawtext core referencesDocs


Lawtext core references / core/src/node/el/controls/pointer / ____PointerRanges

Class: ____PointerRanges

EL: a simplified XML DOM functionality that implements JsonEL interface.

Extends

Constructors

new ____PointerRanges()

new ____PointerRanges(options): ____PointerRanges

Parameters

options: PointerRangesOptions

Returns

____PointerRanges

Overrides

EL.constructor

Defined in

core/src/node/el/controls/pointer.ts:185 (opens in a new tab)

Properties

attr

attr: object

The attributes of the element

targetContainerIDRanges?

optional targetContainerIDRanges: string

Overrides

EL.attr

Defined in

core/src/node/el/controls/pointer.ts:161 (opens in a new tab)


children

children: (SentenceChildEL | ____PointerRange)[]

The children of the element

Overrides

EL.children

Defined in

core/src/node/el/controls/pointer.ts:164 (opens in a new tab)


id

id: number

Inherited from

EL.id

Defined in

core/src/node/el/index.ts:14 (opens in a new tab)


range

range: null | [number, number]

Inherited from

EL.range

Defined in

core/src/node/el/index.ts:15 (opens in a new tab)


tag

tag: "____PointerRanges"

The tag name of the element

Overrides

EL.tag

Defined in

core/src/node/el/controls/pointer.ts:159 (opens in a new tab)

Accessors

isControl

get isControl(): true

Returns

true

Overrides

EL.isControl

Defined in

core/src/node/el/controls/pointer.ts:160 (opens in a new tab)


targetContainerIDRanges

get targetContainerIDRanges(): readonly RangeInfo[]

set targetContainerIDRanges(value): void

Parameters

value: readonly RangeInfo[]

Returns

readonly RangeInfo[]

Defined in

core/src/node/el/controls/pointer.ts:170 (opens in a new tab)

Methods

copy()

copy(deep, copyID): EL

Parameters

deep: boolean = true

copyID: boolean = false

Returns

EL

Inherited from

EL.copy

Defined in

core/src/node/el/index.ts:40 (opens in a new tab)


innerXML()

innerXML(withControlEl): string

Parameters

withControlEl: boolean = false

Returns

string

Inherited from

EL.innerXML

Defined in

core/src/node/el/index.ts:109 (opens in a new tab)


json()

json(withControlEl, withProperties): JsonEL

Parameters

withControlEl: boolean = false

withProperties: boolean = false

Returns

JsonEL

Inherited from

EL.json

Defined in

core/src/node/el/index.ts:56 (opens in a new tab)


outerXML()

outerXML(withControlEl): string

Parameters

withControlEl: boolean = false

Returns

string

Inherited from

EL.outerXML

Defined in

core/src/node/el/index.ts:105 (opens in a new tab)


ranges()

ranges(): ____PointerRange[]

Returns

____PointerRange[]

Defined in

core/src/node/el/controls/pointer.ts:190 (opens in a new tab)


text()

text(): string

Returns

string

Inherited from

EL.text

Defined in

core/src/node/el/index.ts:95 (opens in a new tab)


wrapXML()

wrapXML(inner): string

Parameters

inner: string

Returns

string

Inherited from

EL.wrapXML

Defined in

core/src/node/el/index.ts:101 (opens in a new tab)