Contents

threshold(_:)

Sets the threshold at which the view will be considered fully visible.

Declaration

func threshold(_ threshold: ScrollTransitionConfiguration.Threshold) -> ScrollTransitionConfiguration

Parameters

  • 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.

See Also

Accessing the configuration