feat(core): add isStable Observable property to ApplicationRef to indicate when it's stable and unstable (#14337)

PR Close #14337
This commit is contained in:
Vikram Subramanian
2017-02-03 05:42:22 -08:00
committed by Miško Hevery
parent b64946b5f9
commit c4817988ca
3 changed files with 197 additions and 7 deletions

View File

@ -171,6 +171,7 @@ export declare class ApplicationModule {
export declare abstract class ApplicationRef {
readonly abstract componentTypes: Type<any>[];
readonly abstract components: ComponentRef<any>[];
readonly abstract isStable: Observable<boolean>;
readonly abstract viewCount: number;
abstract attachView(view: ViewRef): void;
abstract bootstrap<C>(componentFactory: ComponentFactory<C> | Type<C>): ComponentRef<C>;