threshold(_:)
Sets the threshold at which the view will be considered fully visible.
Declaration
func threshold(_ threshold: ScrollTransitionConfiguration.Threshold) -> ScrollTransitionConfigurationParameters
- threshold:
The threshold specifying how much of the view must intersect with the container before it is treated as visible.
Return Value
A copy of this configuration with the threshold set to the given value.