Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ProgressIndicator component #1392

Closed
vladitasev opened this issue Mar 30, 2020 · 0 comments · Fixed by #1887
Closed

ProgressIndicator component #1392

vladitasev opened this issue Mar 30, 2020 · 0 comments · Fixed by #1887

Comments

@vladitasev
Copy link
Contributor

vladitasev commented Mar 30, 2020

It would be good to have ProgressIndicator for 2 reasons:

  • As it makes sense in main as a bread-and-butter component
  • As it will be reused in UploadCollectionItem

API:

  • value: Int (0 to 100, how full it is)
  • valueState: to determine the color
  • hideValue: Boolean to not show the % value on the bar
  • noAnimation: Boolean to turn off the animation
  • disabled: Boolean to make it non-focusable and grey

No slots
No events

Set default height but let the user change it
Internal default witdth: 100%, take up the whole space the user gives

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants