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
@ -60,3 +60,11 @@ export function checkAndUpdateBindingWithChange(
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
export function declaredViewContainer(view: ViewData) {
|
||||
if (view.parent) {
|
||||
const parentView = view.parent;
|
||||
return parentView.nodes[view.parentIndex];
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
|
Reference in New Issue
Block a user