ScrollTransitionConfigurationThreshold

Describes a specific point in the progression of a target view within a container from hidden (fully outside the container) to visible.

StructureiOS 17.0+macOS 14.0+tvOS 17.0+watchOS 10.0+ScrollTransitionConfiguration.Threshold in SwiftUI

Declaration

React
type ScrollTransitionConfigurationThreshold =
  | 'centered'
  | 'hidden'
  | 'visible'
  | { visible: number; }
  | ScrollTransitionConfigurationThresholdChain;
Swift
struct Threshold

Pass a literal, or build one with SwiftUI.ScrollTransitionConfigurationThreshold from import { SwiftUI } from 'swiftui-react-native'.

Type properties

Type methods

See also

More in Animation.