@ibragim-dev-org/ui-forge-library 1.4.33 → 1.4.35
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
|
@@ -257,31 +257,28 @@ declare class ContainerSizeDirective implements AfterViewInit, OnDestroy {
|
|
|
257
257
|
}
|
|
258
258
|
|
|
259
259
|
declare class StableScrollDirective implements AfterViewInit, OnDestroy {
|
|
260
|
-
private readonly host;
|
|
261
|
-
private readonly destroyRef;
|
|
262
260
|
private el;
|
|
263
|
-
private
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
reachedBottom: i0.OutputEmitterRef<void>;
|
|
268
|
-
/** Top threshold in px or percentage (0–1). Default: 0 (exact top). */
|
|
261
|
+
private resizeObserver;
|
|
262
|
+
private destroy$;
|
|
263
|
+
private scrolling$;
|
|
264
|
+
private _isScrolling;
|
|
269
265
|
$topThreshold: i0.InputSignal<number>;
|
|
270
|
-
/** Bottom threshold in px or percentage (0–1). Default: 0 (exact bottom). */
|
|
271
266
|
$bottomThreshold: i0.InputSignal<number>;
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
private
|
|
275
|
-
private
|
|
276
|
-
|
|
267
|
+
reachedTop: i0.OutputEmitterRef<void>;
|
|
268
|
+
reachedBottom: i0.OutputEmitterRef<void>;
|
|
269
|
+
private anchorElement;
|
|
270
|
+
private anchorOffset;
|
|
271
|
+
constructor(elRef: ElementRef<HTMLElement>);
|
|
277
272
|
get scrolling(): boolean;
|
|
278
273
|
ngAfterViewInit(): void;
|
|
279
274
|
ngOnDestroy(): void;
|
|
280
|
-
|
|
281
|
-
/** Call this BEFORE you change the data */
|
|
275
|
+
/** Call BEFORE data changes */
|
|
282
276
|
captureBeforeChange(): void;
|
|
283
|
-
/** Call
|
|
277
|
+
/** Call AFTER render */
|
|
284
278
|
restoreScrollPosition(): void;
|
|
279
|
+
private checkThresholds;
|
|
280
|
+
private captureAnchor;
|
|
281
|
+
private restoreAnchor;
|
|
285
282
|
static ɵfac: i0.ɵɵFactoryDeclaration<StableScrollDirective, never>;
|
|
286
283
|
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>;
|
|
287
284
|
}
|