ZoomOptions.getNodeOffset

Syntax

getNodeOffset(node: HTMLElement);

Parameters

node. DOM element corresponding to a visual component, which coordinates should be obtained.

Description

The getNodeOffset method returns coordinates of a visual component located in the browser visual area, taking into account zoom in pixels.

Comments

To get coordinates of the element located relative to a visual component, use the ZoomOptions.getPointOffset method.

See also:

ZoomOptions