Contents

cancel

A role that indicates a button that cancels an operation.

Declaration

static let cancel: ButtonRole

Discussion

Use this role for a button that cancels the current operation. Unlike confirmation, a cancel action implies progress will be lost by performing the operation.

See Also

Getting button roles