Search...
Get the document's children
Copy Code
1let docChildren = $w("Document").children;23let firstChildType = docChildren[0].type; // "$w.Page"4let secondChildType = docChildren[1].type; // "$w.Header"5let thirdChildType = docChildren[2].type; // "$w.Footer"