I'd like to create a progress bar after clicking a button. For example, it goes from 0%, 20%, 40%, 60, 80%, 100% in 5 seconds. Then the bar disappears. How do I do this? I see a tutorial that use dcc.interval, but the interval just automatically increase. I cannot control the start of the interval with a button.
Asked
Active
Viewed 537 times
1
-
did you ever checked the progress-bar in dash-bootstrap-components site? https://dash-bootstrap-components.opensource.faculty.ai/docs/components/progress/ – bernarducs May 31 '22 at 17:33
-
I have checked it before I ask the question. – wangge Jun 11 '22 at 15:26
-
The site only talks about the frontend. The hard part is about the communication – wangge Jun 14 '22 at 18:55