UNPKG

@delon/abc

Version:

Common business components of ng-alain.

32 lines (31 loc) 1.37 kB
import { AfterViewInit, EventEmitter, OnDestroy } from '@angular/core'; import { Observable } from 'rxjs'; import * as i0 from "@angular/core"; export declare class SizeObserver implements OnDestroy { private _observedElements; ngOnDestroy(): void; observe(element: Element): Observable<MutationRecord[]>; private _observeElement; private _unobserveElement; private _cleanupObserver; static ɵfac: i0.ɵɵFactoryDeclaration<SizeObserver, never>; static ɵprov: i0.ɵɵInjectableDeclaration<SizeObserver>; } export declare class ObserverSize implements AfterViewInit, OnDestroy { private readonly _obs; private readonly el; private readonly ngZone; private _sub$; readonly event: EventEmitter<MutationRecord[]>; ngAfterViewInit(): void; private _sub; private _unsub; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<ObserverSize, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<ObserverSize, "[observeSize]", ["observeSize"], {}, { "event": "observeSize"; }, never, never, true, never>; } export declare class ObserversModule { static ɵfac: i0.ɵɵFactoryDeclaration<ObserversModule, never>; static ɵmod: i0.ɵɵNgModuleDeclaration<ObserversModule, never, [typeof ObserverSize], [typeof ObserverSize]>; static ɵinj: i0.ɵɵInjectorDeclaration<ObserversModule>; }