Library
core
classes
Core Src Node El Controls Pointer. Pointerrange

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

Class: ____PointerRange

core/src/node/el/controls/pointer.____PointerRange

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

Hierarchy

  • EL

    ____PointerRange

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

new ____PointerRange(options): ____PointerRange

Parameters

NameType
optionsPointerRangeOptions

Returns

____PointerRange

Overrides

EL.constructor

Defined in

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

Properties

attr

attr: Object

The attributes of the element

Index signature

▪ [key: string]: string | undefined

Inherited from

EL.attr

Defined in

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


children

children: (SentenceChildEL | ____Pointer)[]

The children of the element

Overrides

EL.children

Defined in

core/src/node/el/controls/pointer.ts:117 (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 | [start: number, end: number]

Inherited from

EL.range

Defined in

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


tag

tag: "____PointerRange"

The tag name of the element

Overrides

EL.tag

Defined in

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

Accessors

isControl

get isControl(): true

Returns

true

Overrides

EL.isControl

Defined in

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

Methods

copy

copy(deep?, copyID?): EL

Parameters

NameTypeDefault value
deepbooleantrue
copyIDbooleanfalse

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

NameTypeDefault value
withControlElbooleanfalse

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

NameTypeDefault value
withControlElbooleanfalse
withPropertiesbooleanfalse

Returns

JsonEL

Inherited from

EL.json

Defined in

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


modifierParentheses

modifierParentheses(): null | __Parentheses

Returns

null | __Parentheses

Defined in

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


outerXML

outerXML(withControlEl?): string

Parameters

NameTypeDefault value
withControlElbooleanfalse

Returns

string

Inherited from

EL.outerXML

Defined in

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


pointers

pointers(): [____Pointer] | [____Pointer, ____Pointer]

Returns

[____Pointer] | [____Pointer, ____Pointer]

Defined in

core/src/node/el/controls/pointer.ts:133 (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

NameType
innerstring

Returns

string

Inherited from

EL.wrapXML

Defined in

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