Feature request: Is it possible to add a time for how long are confetti visible before fading out? #27
jakubsobotkatv
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Hi, thanks for reaching out. There is no parameter to do that rn. I am quite busy rn to do it myself. You probably need to dispatch the fading out animation separately with a different animation curve here: https://github.com/simibac/ConfettiSwiftUI/blob/master/Sources/ConfettiSwiftUI.swift#L229 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Feature request: Is it possible to add a time for how long are confetti visible before fading out?
I need the time to be shorter but I don't know how to do it. I guess there is not parameter for it.
Would be super awesome!
.confettiCannon( counter: $conffetiErrorTrigger, num: 6, confettis: [.text("❌"), .shape(.circle)], colors: [.red], confettiSize: 20.0, rainHeight: 600, openingAngle: Angle(degrees: 0), radius: 600 )
Anyway, thank for the great Confetti UI.
Beta Was this translation helpful? Give feedback.
All reactions