Skip to main content

Class: XPathElementRef

Defined in: common/MyopElementRef.ts:11

Implements​

Constructors​

new XPathElementRef()​

new XPathElementRef(xPath, htmlTagName, BoundingRect?, offsetTop?, offsetLeft?): XPathElementRef

Defined in: common/MyopElementRef.ts:12

Parameters​

xPath​

string

htmlTagName​

string

BoundingRect?​

DOMRect

offsetTop?​

number

offsetLeft?​

number

Returns​

XPathElementRef

Properties​

BoundingRect?​

optional BoundingRect: DOMRect

Defined in: common/MyopElementRef.ts:14

Implementation of​

IElementRef.BoundingRect


htmlTagName​

htmlTagName: string

Defined in: common/MyopElementRef.ts:13

Implementation of​

IElementRef.htmlTagName


offsetLeft?​

optional offsetLeft: number

Defined in: common/MyopElementRef.ts:16

Implementation of​

IElementRef.offsetLeft


offsetTop?​

optional offsetTop: number

Defined in: common/MyopElementRef.ts:15

Implementation of​

IElementRef.offsetTop


type​

readonly type: string = 'XPathElementRef'

Defined in: common/MyopElementRef.ts:19

Implementation of​

IElementRef.type


xPath​

xPath: string

Defined in: common/MyopElementRef.ts:12