UNPKG

@coreui/angular

Version:

CoreUI Components Library for Angular

20 lines (19 loc) 814 B
import { ElementRef, OnDestroy } from '@angular/core'; import * as i0 from "@angular/core"; export interface IIntersectionObserverInit { root?: Element | null; rootMargin?: string; threshold?: number | number[]; } export declare class IntersectionService implements OnDestroy { #private; platformId: Object; readonly intersecting$: import("rxjs").Observable<any>; private defaultObserverOptions; hostElementRefs: Map<ElementRef, IntersectionObserver | null>; createIntersectionObserver(hostElement: ElementRef, observerOptions?: IIntersectionObserverInit): void; unobserve(elementRef: ElementRef): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<IntersectionService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<IntersectionService>; }