static-injector
Version:
Angular 依赖注入独立版本;Angular dependency injection standalone version
31 lines (30 loc) • 850 B
TypeScript
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
export declare const enum NotificationSource {
MarkAncestorsForTraversal = 0,
SetInput = 1,
DeferBlockStateUpdate = 2,
DebugApplyChanges = 3,
MarkForCheck = 4,
Listener = 5,
CustomElement = 6,
RenderHook = 7,
ViewAttached = 8,
ViewDetachedFromDOM = 9,
AsyncAnimationsLoaded = 10,
PendingTaskRemoved = 11,
RootEffect = 12,
ViewEffect = 13
}
/**
* Injectable that is notified when an `LView` is made aware of changes to application state.
*/
export declare abstract class ChangeDetectionScheduler {
abstract notify(source: NotificationSource): void;
abstract runningTick: boolean;
}