@microsoft/windows-admin-center-sdk
Version:
Microsoft - Windows Admin Center Shell
31 lines (30 loc) • 1.69 kB
TypeScript
import { AfterContentChecked, AfterContentInit, AfterViewChecked, AfterViewInit, DoCheck, Injector, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
import { SmeInjectableBase } from './decorators/injection.decorators';
import * as i0 from "@angular/core";
/**
* Blank implementation of the complete angular component lifecycle.
* This enabled our base components to implement the lifecycle even if they dont use all of its functions just yet.
* That way if we do decide to use one of these hooks, we dont need to change every derived component as
* they should all be calling super() implementation anyway.
*/
export declare class NgLifecycleBaseComponent extends SmeInjectableBase implements OnChanges, OnInit, DoCheck, OnDestroy, AfterContentInit, AfterContentChecked, AfterViewInit, AfterViewChecked {
/**
* Initializes a new instance of the {BaseComponent} class.
* @param injector The angular injection service. required by @SmeInjectableBase() decorator
*/
constructor(injector: Injector);
protected ngIsInitialized: boolean;
protected ngIsContentInitialized: boolean;
protected ngIsViewInitialized: boolean;
protected ngIsDestroyed: boolean;
ngOnChanges(changes: SimpleChanges): void;
ngOnInit(): void;
ngDoCheck(): void;
ngOnDestroy(): void;
ngAfterContentInit(): void;
ngAfterContentChecked(): void;
ngAfterViewInit(): void;
ngAfterViewChecked(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<NgLifecycleBaseComponent, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<NgLifecycleBaseComponent, never, never, {}, {}, never, never, false, never>;
}