开发者

Get the position of a DOM element via x, y co-ordinates

开发者 https://www.devze.com 2023-01-06 08:12 出处:网络
Is there a way to select the top most DOM element at a certain x-y position with Javascript? So give x and y, what DOM element is the开发者_运维问答re?You can use document.getElementFromPoint.

Is there a way to select the top most DOM element at a certain x-y position with Javascript?

So give x and y, what DOM element is the开发者_运维问答re?


You can use document.getElementFromPoint.

0

精彩评论

暂无评论...
验证码 换一张
取 消