Instance Method

onTapGesture(count:perform:)

Adds an action to perform when this view recognizes a tap gesture.

Declaration

func onTapGesture(count: Int = 1, perform action: @escaping () -> Void) -> some View