DataControl.hitTest Method
Determines what data control element is represented at the specified position.
Parameters
- offsetX
-
Type: Number
The position to test in pixels relative to the left edge of the control.
- offsetY
-
Type: Number
The position to test in pixels relative to the top edge of the control.
- element
-
Type: Element
The DOM element located at the position, if available.
Return Value
Type: Object - May be null
The data control element or a plain object with properties containing information about the specified location; or null
if none.