Creates a new threshold that combines this threshold value with
another threshold, interpolated by the given amount.
- Parameters:
- other: The second threshold value.
- amount: The ratio with which this threshold is combined with
the given threshold, where zero is equal to this threshold,
1.0 is equal to `other`, and values in between combine the two
thresholds.
Returns a threshold that is met when the target view is closer to the
center of the container by `distance`. Use negative values to move
the threshold away from the center.
get · iOS 17.0+
hidden
TypeScript
static get hidden(): ScrollTransitionConfiguration_Threshold
Swift declaration
static let hidden: ScrollTransitionConfiguration.Threshold
get · iOS 17.0+
visible
TypeScript
static get visible(): ScrollTransitionConfiguration_Threshold
Swift declaration
static let visible: ScrollTransitionConfiguration.Threshold
The target view is visible by the given amount, where zero is fully
hidden, and one is fully visible.
Values less than zero or greater than one are clamped.
get · iOS 17.0+
centered
TypeScript
static get centered(): ScrollTransitionConfiguration_Threshold
Swift declaration
static var centered: ScrollTransitionConfiguration.Threshold { get }