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

Get index

Implementation of IElementProxy.getIndex

Returns: number


getName

getName(): string

Gets the element name

Implementation of IElementProxy.getName

Returns: string

the name of the element


getPageProxy

getPageProxy(): IPageProxy

Implementation of IElementProxy.getPageProxy

Returns: IPageProxy

the Page, which the element belongs to


getParent

getParent(): any

Gets the parent proxy

Implementation of IElementProxy.getParent

Returns: any


getType

getType(): string

This method returns type

Implementation of IElementProxy.getType

Returns: string