package progress
User-definable progress bars
Install
Dune Dependency
Authors
Maintainers
Sources
progress-0.2.2.tbz
sha256=3341c21923a21cd6b5b5cfa9ec3981f59572c367940fe5e02450533dfb4110b5
sha512=3edbe5ca6ea0bbc678b7dc4abe38bb4c3c4832de0144cc6e0791678712931fbaf2f7141196fca3fdc13a20777851cadcd165bf30c11d92193eecbd8f2d9dbf15
doc/progress.engine/Progress_engine/Make/Display/index.html
Module Make.Display
Source
Initiate rendering of a progress bar display. Raises Failure
if there is already an active progress bar display.
reporters d
is the list of initial reporting functions belonging to display d
.
Note this list does not include any reporters added during progress bar rendering via add_line
.
tick d
re-renders the contents of display d
without reporting any specific values. This function can be used to update spinners, durations, etc. when there is no actual progress to report.
Add a line to an ongoing display, and get its reporting function. By default, the line is added to the bottom of the display (above = 0
); the ~above
argument can be passed to add the line above some number of existing lines.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>