geometry
TypeScriptget geometry(): _SwiftUICore_ScrollGeometrySwift declarationvar geometry: ScrollGeometry { get }The geometry of the scroll view at the time of the scroll phase change.
struct · iOS 18.0+ · SDK 27.1
struct ScrollPhaseChangeContextA type that provides you with more content when the phase of a scroll view changes. You don't create this type directly. Instead, SwiftUI provides an instance of this type in the ``View/onScrollPhaseChange(_:)`` modifier.
get geometry(): _SwiftUICore_ScrollGeometrySwift declarationvar geometry: ScrollGeometry { get }The geometry of the scroll view at the time of the scroll phase change.
get velocity(): ({ dx: number; dy: number }) | nullSwift declarationvar velocity: CGVector? { get }The velocity of the scroll view at the time of the scroll phase change.
No declarations were skipped in this snapshot.