ng-virtual-list 16.9.0 → 16.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/components/scroller/ng-scroller.component.mjs +17 -22
- package/esm2022/lib/ng-virtual-list.component.mjs +12 -25
- package/fesm2022/ng-virtual-list.mjs +28 -46
- package/fesm2022/ng-virtual-list.mjs.map +1 -1
- package/lib/components/scroller/ng-scroller.component.d.ts +4 -1
- package/package.json +1 -1
|
@@ -16,6 +16,7 @@ export interface IScrollToParams {
|
|
|
16
16
|
blending?: boolean;
|
|
17
17
|
behavior?: "auto" | "instant" | "smooth" | string;
|
|
18
18
|
userAction?: boolean;
|
|
19
|
+
fireUpdate?: boolean;
|
|
19
20
|
}
|
|
20
21
|
export declare const SCROLL_EVENT: Event, WHEEL_EVENT: Event, SCROLLBAR_SCROLL_EVENT: Event;
|
|
21
22
|
/**
|
|
@@ -114,7 +115,6 @@ export declare class NgScrollerComponent implements OnDestroy {
|
|
|
114
115
|
private _y;
|
|
115
116
|
set y(v: number);
|
|
116
117
|
get y(): number;
|
|
117
|
-
private _currentAnimation;
|
|
118
118
|
private _totalSize;
|
|
119
119
|
set totalSize(v: number);
|
|
120
120
|
get actualScrollHeight(): number;
|
|
@@ -138,6 +138,8 @@ export declare class NgScrollerComponent implements OnDestroy {
|
|
|
138
138
|
private _onResizeContentHandler;
|
|
139
139
|
private _updateScrollBarId;
|
|
140
140
|
private _destroyRef;
|
|
141
|
+
private _animationId;
|
|
142
|
+
private _animationId1;
|
|
141
143
|
constructor(_service: NgVirtualListService);
|
|
142
144
|
ngAfterViewInit(): void;
|
|
143
145
|
private afterViewInit;
|
|
@@ -149,6 +151,7 @@ export declare class NgScrollerComponent implements OnDestroy {
|
|
|
149
151
|
animate(startValue: number, endValue: number, duration?: number, easingFunction?: Easing, userAction?: boolean): void;
|
|
150
152
|
private updateScrollBar;
|
|
151
153
|
scrollTo(params: IScrollToParams): void;
|
|
154
|
+
protected fireScrollEvent(userAction: boolean): void;
|
|
152
155
|
reset(): void;
|
|
153
156
|
onScrollBarDragHandler(e: any): void;
|
|
154
157
|
ngOnDestroy(): void;
|