getBoundingClientRect() , which MDN lists as "DOMRect". If I log the object to the console, it's listed as a DOMRect with properties: height, width, top, ...
確定! 回上一頁