UNPKG

@progress/kendo-vue-dateinputs

Version:
57 lines (56 loc) 1.63 kB
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import { RowHeightService } from './RowHeightService'; /** * @hidden */ export declare class ScrollAction { offset: number; constructor(offset: number); } /** * @hidden */ export declare class PageAction { skip: number; constructor(skip: number); } /** * @hidden */ export type ScrollElement = { offsetHeight: number; offsetWidth: number; scrollLeft: number; scrollTop: number; }; /** * @hidden */ export type Action = ScrollAction | PageAction; /** * @hidden */ export declare class ScrollerService { private onScrollAction; private onPageAction; private direction; private firstLoaded; private lastLoaded; private lastScrollTop; private take; private total; private rowHeightService; private bottomOffset; private topOffset; constructor(onScrollAction: (action: ScrollAction) => void, onPageAction: (action: PageAction) => void); create(rowHeightService: RowHeightService, skip: number, take: number, total: number, topOffset?: number, bottomOffset?: number, direction?: 'horizontal' | 'vertical'): void; onScroll({ scrollLeft, scrollTop, offsetHeight, offsetWidth }: ScrollElement): void; rowOffset(index: number): number; private rowsForHeight; }