document Methods: elementFromPoint()

By: Dusty Arlia
Published on Tuesday, September 16, 2014 at 7:48 PM
Last Updated on Wednesday, July 08, 2015 at 8:37 PM
Total Updates: 2

The elementFromPoint() method of the document JavaScript object returns the most deeply nested Element object with the highest z-index at viewport coordinates x, y which you pass to it.