From 539724e709986a466f7ab44c7f9ac888501a9d3b Mon Sep 17 00:00:00 2001 From: bendtherules Date: Sun, 8 Nov 2020 18:46:53 +0530 Subject: [PATCH] element-child-content - Shorten Nodelist usage --- docs/element-child-content.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/element-child-content.mdx b/docs/element-child-content.mdx index 96cb4fe..562ed7a 100644 --- a/docs/element-child-content.mdx +++ b/docs/element-child-content.mdx @@ -132,7 +132,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 `[...node.childNodes]`. NodeList also has a `.length` property. +`NodeList` can be converted to a array using `Array.from()` or `[...node.childNodes]`. NodeList also has a `.length` property. Here, the NodeList is **live** - so the content of NodeList will auto-update. ```jsx