UNPKG

ng-materialgrammi

Version:

An Angular framework which follows

28 lines (27 loc) 884 B
import { AfterViewInit, ElementRef, EventEmitter, OnInit } from '@angular/core'; import * as i0 from "@angular/core"; export declare class InviewComponent implements OnInit, AfterViewInit { active: EventEmitter<any>; boxOnScreen: EventEmitter<any>; viewport: { width: number; height: number; }; box: { left: number; right: number; top: number; bottom: number; }; inView?: ElementRef; boxInView: boolean; constructor(); ngOnInit(): void; ngAfterViewInit(): void; onScroll(): void; calculateScreen(): void; calculateBox(): void; inviewCheck(): void; static ɵfac: i0.ɵɵFactoryDeclaration<InviewComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<InviewComponent, "mg-inview", never, {}, { "active": "active"; "boxOnScreen": "boxOnScreen"; }, never, ["*"]>; }