Linear progress indicators visualize the linear progression of either determinate or indeterminate activities.
import Material.LinearProgress as LinearProgress
main =
LinearProgress.indeterminate LinearProgress.configSpecify whether the direction of a linear progress indicator should be reversed
Specify whether a linear progress indicator should be hidden
Specify additional attributes
Indeterminate linear progress variant
LinearProgress.determinate LinearProgress.config
{ progress = 0.5 }Determinate linear progress variant
LinearProgress.buffered LinearProgress.config
{ progress = 0.5, buffered = 0.75 }Buffered linear progress variant
If you want to hide the linear progress indicator, set its setClosed
configuration option to True.
LinearProgress.indeterminate
(LinearProgress.config |> LinearProgress.setClosed True)If you want to reverse the direction of the linear progress indicator, set its
setReverse configuration option to True.
LinearProgress.indeterminate
(LinearProgress.config |> LinearProgress.setReverse True)
Linear progress configuration