ConfettiSwiftUI icon indicating copy to clipboard operation
ConfettiSwiftUI copied to clipboard

Change type of trigger binding (feature request)

Open boozook opened this issue 2 years ago • 0 comments

Will be great to change counter: Binding<Int> to trigger: Binding<Any> where Any can by generic parameter or really Any. I'm sure that it's reasonable because:

  1. We're need to know that wrappedValue just changed, not the value exactly
  2. The type Binding<Int> enforces user to have binding of this type only, specially for this case
  3. There are no breaking changes.

boozook avatar May 31 '23 15:05 boozook