Listing all descendants of an element in mootools

Suppose I have a mootools element and I want to get a list of all its descendants (not just direct children) ... how can I do this?

Thanks!

+3
source share
1 answer

Retrieving all children using * css Selector:

myElement.getElements('*')
+4
source

Source: https://habr.com/ru/post/1720690/


All Articles