Skip to content
Advertisements

Category: javascript

getBoundingClientRect

DOM getBoundingClientRect()

The getBoundingClientRect () method returns the width, height, x and y coordinate, top, bottom, right, and left values ​​of the specified element.

DOM firstChild

DOM firstChild

Returns the first child of the connected node. Returns null if the node does not have a child.

DOM childNodes

DOM childNodes

The element.childNodes property returns an array of subnodes bound to the element node.