TransactionWritable
Keys of SwiftUI Transaction JavaScript can write.
Declaration
interface TransactionWritable {
animation: Animation | null;
disablesAnimations: boolean;
dismissBehavior: DismissBehavior;
isContinuous: boolean;
scrollContentOffsetAdjustmentBehavior: ScrollContentOffsetAdjustmentBehavior;
scrollPositionUpdatePreservesVelocity: boolean;
scrollTargetAnchor: UnitPoint | null;
tracksVelocity: boolean;
}Properties
animation*Animation | nulldisablesAnimations*booleandismissBehavior*DismissBehaviorisContinuous*booleanscrollContentOffsetAdjustmentBehavior*ScrollContentOffsetAdjustmentBehaviorscrollPositionUpdatePreservesVelocity*booleanscrollTargetAnchor*UnitPoint | nulltracksVelocity*boolean
Used by
See also
More in State and environment.
- EnvironmentValuesReadableKeys of SwiftUI EnvironmentValues JavaScript can read.
- EnvironmentValuesWritableKeys of SwiftUI EnvironmentValues JavaScript can write.
- TransactionThe context of the current state-processing update.
- TransactionChainTransaction with chained calls: SwiftUI.Transaction.addAnimationCompletion(...).
- TransactionReadableKeys of SwiftUI Transaction JavaScript can read.