1 | import * as i0 from "@angular/core";
|
2 | export interface ItemsRangeResult {
|
3 | scrollHeight: number;
|
4 | topPadding: number;
|
5 | start: number;
|
6 | end: number;
|
7 | }
|
8 | export interface PanelDimensions {
|
9 | itemHeight: number;
|
10 | panelHeight: number;
|
11 | itemsPerViewport: number;
|
12 | }
|
13 | export declare class NgDropdownPanelService {
|
14 | private _dimensions;
|
15 | get dimensions(): PanelDimensions;
|
16 | calculateItems(scrollPos: number, itemsLength: number, buffer: number): ItemsRangeResult;
|
17 | setDimensions(itemHeight: number, panelHeight: number): void;
|
18 | getScrollTo(itemTop: number, itemHeight: number, lastScroll: number): number;
|
19 | static ɵfac: i0.ɵɵFactoryDeclaration<NgDropdownPanelService, never>;
|
20 | static ɵprov: i0.ɵɵInjectableDeclaration<NgDropdownPanelService>;
|
21 | }
|