Initializer

init(resetTransaction:)

Creates a gesture state with a reset transaction.

Declaration

init(resetTransaction: Transaction = Transaction())
Available when Value conforms to ExpressibleByNilLiteral.

Discussion

resetTransaction resets the state back to the initial value when the associated gesture becomes inactive.