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
type ScrollTransitionConfigurationThreshold =
| 'centered'
| 'hidden'
| 'visible'
| { visible: number; }
| ScrollTransitionConfigurationThresholdChain;struct ThresholdPass a literal, or build one with SwiftUI.ScrollTransitionConfigurationThreshold from import { SwiftUI } from 'swiftui-react-native'.
Type properties
'centered'SwiftUI.ScrollTransitionConfigurationThreshold.centered'visible'SwiftUI.ScrollTransitionConfigurationThreshold.visible
Type methods
See also
More in Animation.
- AnimationThe way a view changes over time to create a smooth visual transition from one state to another.
- AnimationChainAnimation with chained calls: SwiftUI.Animation.delay(...).
- AnimationCompletionCriteriaThe criteria that determines when an animation is considered finished.
- AnimationTimelineScheduleA pausable schedule of dates updating at a frequency no more quickly than the provided interval.
- AnyTransitionA type-erased transition.
- AnyTransitionChainAnyTransition with chained calls: SwiftUI.AnyTransition.animation(...).
- BlurReplaceTransitionA transition that animates the insertion or removal of a view by combining blurring and scaling effects.
- BlurReplaceTransitionConfigurationConfiguration properties for a transition.
- ContentTransitionA kind of transition that applies to the content within a single view, rather than to the insertion or removal of a view.
- DropSessionPhaseThe phase of the current drop session.
- GlassEffectTransitionA structure that describes changes to apply when a glass effect is added or removed from the view hierarchy.
- IdentityTransitionA transition that returns the input view, unmodified, as the output view.