@ibragim-dev-org/ui-forge-library 1.4.35 → 1.4.36
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/package.json
CHANGED
|
@@ -258,16 +258,22 @@ declare class ContainerSizeDirective implements AfterViewInit, OnDestroy {
|
|
|
258
258
|
|
|
259
259
|
declare class StableScrollDirective implements AfterViewInit, OnDestroy {
|
|
260
260
|
private el;
|
|
261
|
-
private
|
|
261
|
+
private readonly platformId;
|
|
262
|
+
private readonly isBrowser;
|
|
262
263
|
private destroy$;
|
|
263
264
|
private scrolling$;
|
|
264
265
|
private _isScrolling;
|
|
266
|
+
private mutationObserver?;
|
|
267
|
+
private restoreFrameId;
|
|
268
|
+
private restoreMicrotaskPending;
|
|
265
269
|
$topThreshold: i0.InputSignal<number>;
|
|
266
270
|
$bottomThreshold: i0.InputSignal<number>;
|
|
267
271
|
reachedTop: i0.OutputEmitterRef<void>;
|
|
268
272
|
reachedBottom: i0.OutputEmitterRef<void>;
|
|
269
|
-
private
|
|
270
|
-
private
|
|
273
|
+
private anchorSnapshot;
|
|
274
|
+
private lastScrollTop;
|
|
275
|
+
private scrollingUp;
|
|
276
|
+
private scrollingDown;
|
|
271
277
|
constructor(elRef: ElementRef<HTMLElement>);
|
|
272
278
|
get scrolling(): boolean;
|
|
273
279
|
ngAfterViewInit(): void;
|
|
@@ -277,8 +283,13 @@ declare class StableScrollDirective implements AfterViewInit, OnDestroy {
|
|
|
277
283
|
/** Call AFTER render */
|
|
278
284
|
restoreScrollPosition(): void;
|
|
279
285
|
private checkThresholds;
|
|
280
|
-
private
|
|
281
|
-
private
|
|
286
|
+
private observeContentChanges;
|
|
287
|
+
private scheduleRestore;
|
|
288
|
+
private restoreFromSnapshot;
|
|
289
|
+
private scheduleAnimationFrameRestore;
|
|
290
|
+
private refreshAnchorSnapshot;
|
|
291
|
+
private resolveAnchorElement;
|
|
292
|
+
private resolveAnchorCandidates;
|
|
282
293
|
static ɵfac: i0.ɵɵFactoryDeclaration<StableScrollDirective, never>;
|
|
283
294
|
static ɵdir: i0.ɵɵDirectiveDeclaration<StableScrollDirective, "[stableScroll]", never, { "$topThreshold": { "alias": "$topThreshold"; "required": false; "isSignal": true; }; "$bottomThreshold": { "alias": "$bottomThreshold"; "required": false; "isSignal": true; }; }, { "reachedTop": "reachedTop"; "reachedBottom": "reachedBottom"; }, never, never, true, never>;
|
|
284
295
|
}
|