docs/vendor.js
function viewParentEl(view) {
    var parentView = view.parent;
    if (parentView) {
        return view.parentNodeDef.parent;
    }
    else {
        return null;
    }
}
function viewParentEl(view) {
    var parentView = view.parent;
    if (parentView) {
        return view.parentNodeDef.parent;
    }
    else {
        return null;
    }
}
function viewParentEl ( view ) { var parentView = view . parent ; if ( parentView ) { return view . parentNodeDef . parent ; } else { return null ; } }
for component views, this is the host element.
for embedded views, this is the index of the parent node
that contains the view container.
for component views this is the host element . for embedded views this is the index of the parent node that contains the view container .