docs/vendor.js
function embeddedViewStart(viewBlockId) {
    var container = (isParent ? previousOrParentNode : getParentLNode(previousOrParentNode));
    ngDevMode && assertNodeType(container, 0 /* Container */);
    var lContainer = container.data;
    var viewNode = scanForView(container, lContainer[ACTIVE_INDEX], viewBlockId);
    if (viewNode) {
        previousOrParentNode = viewNode;
        ngDevMode && assertNodeType(previousOrParentNode, 2 /* View */);
        isParent = true;
        enterView(viewNode.data, viewNode);
    }
    else {
        // When we create a new LView, we always reset the state of the instructions.
        var newView = createLViewData(renderer, getOrCreateEmbeddedTView(viewBlockId, container), null, 2 /* CheckAlways */, getCurrentSanitizer());
        if (lContainer[QUERIES]) {
            newView[QUERIES] = lContainer[QUERIES].createView();
        }
        enterView(newView, viewNode = createLNode(viewBlockId, 2 /* View */, null, null, null, newView));
    }
    if (container) {
        if (creationMode) {
            // it is a new view, insert it into collection of views for a given container
            insertView(container, viewNode, lContainer[ACTIVE_INDEX]);
        }
        lContainer[ACTIVE_INDEX]++;
    }
    return getRenderFlags(viewNode.data);
}
function embeddedViewStart(viewBlockId) {
    var container = (isParent ? previousOrParentNode : getParentLNode(previousOrParentNode));
    ngDevMode && assertNodeType(container, 0 /* Container */);
    var lContainer = container.data;
    var viewNode = scanForView(container, lContainer[ACTIVE_INDEX], viewBlockId);
    if (viewNode) {
        previousOrParentNode = viewNode;
        ngDevMode && assertNodeType(previousOrParentNode, 2 /* View */);
        isParent = true;
        enterView(viewNode.data, viewNode);
    }
    else {
        // When we create a new LView, we always reset the state of the instructions.
        var newView = createLViewData(renderer, getOrCreateEmbeddedTView(viewBlockId, container), null, 2 /* CheckAlways */, getCurrentSanitizer());
        if (lContainer[QUERIES]) {
            newView[QUERIES] = lContainer[QUERIES].createView();
        }
        enterView(newView, viewNode = createLNode(viewBlockId, 2 /* View */, null, null, null, newView));
    }
    if (container) {
        if (creationMode) {
            // it is a new view, insert it into collection of views for a given container
            insertView(container, viewNode, lContainer[ACTIVE_INDEX]);
        }
        lContainer[ACTIVE_INDEX]++;
    }
    return getRenderFlags(viewNode.data);
}
function embeddedViewStart ( viewBlockId ) { var container = ( isParent ? previousOrParentNode : getParentLNode ( previousOrParentNode ) ) ; ngDevMode && assertNodeType ( container , 0 /* Container */ ) ; var lContainer = container . data ; var viewNode = scanForView ( container , lContainer [ ACTIVE_INDEX ] , viewBlockId ) ; if ( viewNode ) { previousOrParentNode = viewNode ; ngDevMode && assertNodeType ( previousOrParentNode , 2 /* View */ ) ; isParent = true ; enterView ( viewNode . data , viewNode ) ; } else { // When we create a new LView, we always reset the state of the instructions. var newView = createLViewData ( renderer , getOrCreateEmbeddedTView ( viewBlockId , container ) , null , 2 /* CheckAlways */ , getCurrentSanitizer ( ) ) ; if ( lContainer [ QUERIES ] ) { newView [ QUERIES ] = lContainer [ QUERIES ] . createView ( ) ; } enterView ( newView , viewNode = createLNode ( viewBlockId , 2 /* View */ , null , null , null , newView ) ) ; } if ( container ) { if ( creationMode ) { // it is a new view, insert it into collection of views for a given container insertView ( container , viewNode , lContainer [ ACTIVE_INDEX ] ) ; } lContainer [ ACTIVE_INDEX ] ++ ; } return getRenderFlags ( viewNode . data ) ; }
Marks the start of an embedded view.

@param viewBlockId The ID of this view
@return boolean Whether or not this view is in creation mode
Marks the start of an embedded view .