import { ElementRef, EventEmitter, OnDestroy, OnInit, TemplateRef } from '@angular/core'; import * as i0 from "@angular/core"; /** An element that listens to viewport positioning and fires inView and notInview events ### Example ```html ; notInview: EventEmitter; observer: IntersectionObserver; /** indicates that this element is in viewport */ isInview: boolean; /** indicates that this element is 80% in viewport. Used by the default callback */ once80PctVisible: boolean; constructor(element: ElementRef, platformId: any); /** Starts IntersectionObserver */ ngOnInit(): void; /** stop IntersectionObserver */ ngOnDestroy(): void; /** fires (inview) and (notInview) events when this component is visible or not visible */ handleIntersect(entries: any): void; /** * default intersection handler, which sets blur dependes on intersection ratio * this won't be invoked if user provides any (inview) event. e.g. (inview)="something()" */ defaultInviewHandler(entry: any): any; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }