MouseEvent pageY Property in JavaScript
MouseEvent pageY Property in JavaScript
The pageY property is a read-only property and it is used to return vertical coordinate of mouse pointer when a mouse event was triggered according to document which is basically a web page. For getting the horizontal coordinate we use the pageX property.
Syntax:-
Its syntax is:- event.pageY
Return:-
Its return is:- number denoting vertical coordinate of mouse pointer in pixels