Sometimes when you are creating a custom control you need to select all child Coach Views inside a content area and do something with them e.g. move them to a jquery control etc.
This can be done as follows
var subviews = this.context.element.querySelectorAll("#resizer-layout > div > div");
then you can do something with the child views
var rows = [];
for (var i=0; i < subviews.length; i++){
rows.push({template:subviews[i].id, content: subviews[i].id});
if (i < subviews.length-1){
rows.push({view:"resizer"});
}
}