code: function $domElements(c, callback) {
                  for (var k in c.$domKids) {
                      var e = c.$domKids[k];
                      if (e.isDOMElement === true) {
                          callback.call(this, e);
                      } else if (e.$domKids !== undefined) { // prevent unnecessary method call by condition
                          $domElements(e, callback);
                      }
                  }
              }
docs: iterate over all found children HTML elements !!! pay attention you have to check existence of "$domKids" field before the method calling