sizeChangesWithThreshold
A specific rxjs operator to use with sizeService for size changes emissions. It will transform the incoming size changes to a new value considering a threshold. If the new widthZone is in a different zone than the previous one, it will keep the previous one if the threshold is not reached.
Presentation
function sizeChangesWithThreshold (
threshold: number | Signal <number>,
): OperatorFunction <LmnSizeChange , LmnSizeChange >;
Returns
Parameters
Name | Type | Description |
---|---|---|
threshold | number | | @param threshold - The threshold to use |