HEX
Server: nginx/1.24.0
System: Linux nowruzgan 6.8.0-57-generic #59-Ubuntu SMP PREEMPT_DYNAMIC Sat Mar 15 17:40:59 UTC 2025 x86_64
User: babak (1000)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: /var/dev/nowruzgan/ketabkhaneh/node_modules/ngx-infinite-scroll/models.d.ts
import { ElementRef } from '@angular/core';
export type ContainerRef = Window | ElementRef | any;
export interface IInfiniteScrollEvent {
    currentScrollPosition: number;
}
export interface IPositionElements {
    windowElement: ContainerRef;
    axis: any;
}
export interface IPositionStats {
    height: number;
    scrolled: number;
    totalToScroll: number;
    isWindow?: boolean;
}
export interface IScrollerDistance {
    down?: number;
    up?: number;
}
export interface IScrollState {
    lastTotalToScroll: number;
    totalToScroll: number;
    triggered: IScrollerDistance;
    lastScrollPosition: number;
}
export interface IResolver {
    container: ContainerRef;
    isWindow: boolean;
    axis: any;
}
export interface IScrollRegisterConfig {
    container: ContainerRef;
    throttle: number;
}
export interface IScroller {
    fromRoot: boolean;
    horizontal: boolean;
    disable: boolean;
    throttle: number;
    scrollWindow: boolean;
    element: ElementRef;
    scrollContainer: string | ElementRef;
    alwaysCallback: boolean;
    downDistance: number;
    upDistance: number;
}
export interface IScrollParams {
    scrollDown: boolean;
    fire: boolean;
    stats: IPositionStats;
}
export interface IInfiniteScrollAction {
    type: string;
    payload: IInfiniteScrollEvent;
}