dom-confetti | Celebrate success with dom confetti | Animation library
kandi X-RAY | dom-confetti Summary
kandi X-RAY | dom-confetti Summary
Celebrate success with dom confetti!
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of dom-confetti
dom-confetti Key Features
dom-confetti Examples and Code Snippets
Community Discussions
Trending Discussions on dom-confetti
QUESTION
I have a web app where the user should be celebrated if he clicks a button. I have an onSuccess method that triggers the next section. At this point the confetti from react-rewards trigger (similar to react-dom-confetti) but it instantly go-ahead to onSuccess and closes the modal. Did somebody know if the confetti element has kind of a variable which changes when the confetti has fallen down? Thanks for your help!
...ANSWER
Answered 2020-Apr-21 at 13:41It's hard to properly answer your question without more context, a code sample would be helpful for example.
You could maybe delay the navigation / modal closing by using a delayed event handler like:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install dom-confetti
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page