-
Curt Clemens authored
Add new properties |progress| and |hasError| to nearby-progress, which allow setting a specific progress percentage and disabling the spinner during error states respectively. |progress| defaults to null. When null, a waiting animation is shown where the progress bar spins around the icon. |progress| will be used in future CLs to set specific progress percentages, but for now, only the default is used. |hasError|=true causes the progress bar to be red, icons to be grey, progress to be 100%, and stops any spinning animation. Bug: b/163036847 Change-Id: I74d88a1e4efefb6a5e73ba1fd77880b3397bc353 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2542850 Commit-Queue: Curt Clemens <cclem@google.com> Reviewed-by:
Kyle Horimoto <khorimoto@chromium.org> Reviewed-by:
James Vecore <vecore@google.com> Cr-Commit-Position: refs/heads/master@{#828502}
1dcd0fac