mirror of
https://github.com/bendtherules/UiQuestions.git
synced 2026-08-18 13:52:50 +00:00
element-properties - Fix typo
This commit is contained in:
@@ -101,11 +101,11 @@ for (let i = 0; i < children.length; i++) {
|
||||
|
||||
<MDN title="children" url="https://developer.mozilla.org/en-US/docs/Web/API/ParentNode/children" />
|
||||
|
||||
### 2. .childNodes
|
||||
### 3. .childNodes
|
||||
|
||||
`Element.childNodes: NodeList`
|
||||
|
||||
This read-only property returns a live `NodeList` containing all the **child nodes** of the current element, including text nodes. If there are no child elements, it returns a empty NodeList.
|
||||
This read-only property returns a live `NodeList` containing all the **child nodes** of the current element, including text nodes. If there are no child nodes, it returns a empty NodeList.
|
||||
|
||||
This property is available on all types of `Node` - like Element, text node, etc.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user