feat(core): add query support to view engine
Part of #14013 closes #14084
This commit is contained in:

committed by
Victor Berchet

parent
fc8694ed11
commit
1e729d7ba2
@ -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
|
||||
};
|
||||
|
Reference in New Issue
Block a user