feat(core): add query support to view engine

Part of #14013
closes #14084
This commit is contained in:
Tobias Bosch
2017-01-23 16:59:20 -08:00
committed by Victor Berchet
parent fc8694ed11
commit 1e729d7ba2
18 changed files with 1022 additions and 184 deletions

View File

@ -29,11 +29,13 @@ export function textDef(constants: string[]): NodeDef {
reverseChildIndex: undefined,
parent: undefined,
childFlags: undefined,
childMatchedQueries: undefined,
bindingIndex: undefined,
disposableIndex: undefined,
providerIndices: undefined,
// regular values
flags: 0,
matchedQueries: {},
childCount: 0, bindings,
disposableCount: 0,
element: undefined,
@ -55,7 +57,7 @@ export function createText(view: ViewData, renderHost: any, def: NodeDef): NodeD
}
}
return {
elementOrText: {node: renderNode, embeddedViews: undefined},
elementOrText: {node: renderNode, embeddedViews: undefined, projectedViews: undefined},
provider: undefined,
pureExpression: undefined
};