@ibragim-dev-org/ui-forge-library 1.4.31 → 1.4.33
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
|
@@ -256,8 +256,9 @@ declare class ContainerSizeDirective implements AfterViewInit, OnDestroy {
|
|
|
256
256
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ContainerSizeDirective, "[containerSize]", never, {}, { "sizeChange": "sizeChange"; }, never, never, true, never>;
|
|
257
257
|
}
|
|
258
258
|
|
|
259
|
-
declare class StableScrollDirective implements AfterViewInit {
|
|
260
|
-
private host;
|
|
259
|
+
declare class StableScrollDirective implements AfterViewInit, OnDestroy {
|
|
260
|
+
private readonly host;
|
|
261
|
+
private readonly destroyRef;
|
|
261
262
|
private el;
|
|
262
263
|
private lastScrollHeight;
|
|
263
264
|
/** Emit when user reaches top threshold */
|
|
@@ -268,8 +269,14 @@ declare class StableScrollDirective implements AfterViewInit {
|
|
|
268
269
|
$topThreshold: i0.InputSignal<number>;
|
|
269
270
|
/** Bottom threshold in px or percentage (0–1). Default: 0 (exact bottom). */
|
|
270
271
|
$bottomThreshold: i0.InputSignal<number>;
|
|
271
|
-
constructor(host: ElementRef<HTMLElement
|
|
272
|
+
constructor(host: ElementRef<HTMLElement>, destroyRef: DestroyRef);
|
|
273
|
+
private scrolling$;
|
|
274
|
+
private scrollEnd$;
|
|
275
|
+
private isScrolling;
|
|
276
|
+
private resizeObserver;
|
|
277
|
+
get scrolling(): boolean;
|
|
272
278
|
ngAfterViewInit(): void;
|
|
279
|
+
ngOnDestroy(): void;
|
|
273
280
|
private onScroll;
|
|
274
281
|
/** Call this BEFORE you change the data */
|
|
275
282
|
captureBeforeChange(): void;
|