Skip to content

Class: ElementProxy

The ElementProxy is a developer-facing class that provides access to a element. It is passed to rules to provide access to an element for application-specific customizations.

Hierarchy

Implements

Summary

Constructors

Properties

Class Properties

Inherited Properties

Accessors

Class Accessors

Currently none in this class.

Inherited Accessors

Methods

Class Methods

Inherited Methods

Constructors

constructor

+ new ElementProxy(context: IContext): ElementProxy

Overrides ClientAPI.constructor

Parameters:

Name Type
context IContext

Returns: ElementProxy

Properties

Protected _element

_element: any

Methods

getIndex

getIndex(): number

Implementation of IElementProxy

Get index

Returns: number


getName

getName(): string

Implementation of IElementProxy

Get element name

Returns: string

the name of the button


getPageProxy

getPageProxy(): IPageProxy

Implementation of IElementProxy

Returns: IPageProxy

the Page, which the element belongs to


getParent

getParent(): any

Implementation of IElementProxy

This method returns parent proxy

Returns: any


getType

getType(): string

Implementation of IElementProxy

This method returns type

Returns: string