Module rich.progress_rich
Component for rich progress component
Functions
set_to(self, value) | Instant fill progress bar to value |
empty(self) | Empty a progress bar |
to(self, to[, callback]) | Start animation of a progress bar |
Functions
- set_to(self, value)
-
Instant fill progress bar to value
Parameters:
- self table Component instance
- value number Progress bar value, from 0 to 1
- empty(self)
-
Empty a progress bar
Parameters:
- self table Component instance
- to(self, to[, callback])
-
Start animation of a progress bar
Parameters:
- self table Component instance
- to number value between 0..1
- callback function Callback on animation ends (optional)