element-properties - Shorteen NodeeList eextra text

This commit is contained in:
2020-11-07 17:22:48 +05:30
parent 6db114a326
commit 2d0ce2c5e5
+1 -1
View File
@@ -131,7 +131,7 @@ It returns the **number of child elements** of the given element. This is equiva
This property returns a live `NodeList` containing all the **child nodes** of the current element. If there are no child nodes, it returns a empty NodeList.
`NodeList` can be converted to an array easily, using `Array.from()` or `[...ele.children]`. NodeList is also a iterable and has a `.length` property.
`NodeList` can be converted to an array easily, using `Array.from()` or `[...ele.children]`. NodeList also has a `.length` property.
Here, the NodeList is **live** - so the content of NodeList will auto-update.
```jsx