mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
refactor(core): rename queryCreate to viewQueryCreate
In the end we need to distinguish between view and content query creation and need separate names for those instructions.
This commit is contained in:
committed by
Paul Gschwendtner
parent
bd23af0639
commit
18ea007390
@@ -26,5 +26,5 @@ export {
|
||||
} from './render3/reactivity/effect';
|
||||
export {InputSignal, ɵɵGetInputSignalWriteType, ModelSignal} from './render3/reactivity/input_signal';
|
||||
export {input} from './render3/reactivity/input';
|
||||
export {viewChild, viewChildren, ɵɵqueryCreate} from './render3/reactivity/queries';
|
||||
export {viewChild, viewChildren, ɵɵviewQueryCreate} from './render3/reactivity/queries';
|
||||
// clang-format on
|
||||
|
||||
@@ -80,7 +80,7 @@ export class ChildrenQuerySignalImpl<T> extends QuerySignal<T> {
|
||||
}
|
||||
|
||||
// THINK: code duplication for predicate, flags etc.? Or would it be extracted by the compiler?
|
||||
export function ɵɵqueryCreate<T>(
|
||||
export function ɵɵviewQueryCreate<T>(
|
||||
target: Signal<T|undefined>, predicate: ProviderToken<unknown>|string[], flags: QueryFlags,
|
||||
read?: any) {
|
||||
const lView = getLView();
|
||||
|
||||
Reference in New Issue
Block a user