2.2.3 layerY Attribute

layerY of type long, read-only

Gets the vertical coordinate of the event, relative to the whole document, unless the event occurs inside a positioned element. When the event occurs within a positioned element, the layerY attribute gets the vertical coordinate of the event relative to that positioned element.

The layerY attribute is read-only and has no default value.

Show: