@synerty/vortexjs
Version:
Custom observable data serialisation and routing based on Angular 2+
19 lines (18 loc) • 779 B
TypeScript
import { AfterViewInit, DoCheck, OnDestroy, OnInit } from "@angular/core";
import { Observable, Subject } from "rxjs";
import * as i0 from "@angular/core";
export declare class NgLifeCycleEvents implements OnInit, AfterViewInit, OnDestroy, DoCheck {
onInitEvent: Subject<void>;
afterViewInitEvent: Subject<void>;
onDestroyEvent: Subject<void>;
doCheckEvent: Subject<void>;
ngOnInit(): void;
ngAfterViewInit(): void;
ngDoCheck(): void;
ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<NgLifeCycleEvents, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<NgLifeCycleEvents, "ng-component", never, {}, {}, never, never, false, never>;
}
export interface NgOnDestroyEventI {
onDestroyEvent: Subject<void> | Observable<void>;
}