📌  相关文章
📜  获取元素的位置 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:31.493000             🧑  作者: Mango

代码示例2
// get the element at a certain (x, y) position
var element = document.elementFromPoint(x, y);

// for a list of elements
var elements = document.elementsFromPoint(x, y);

.