Linear progress indicators visualize the linear progression of either determinate or indeterminate activities.
import Material.LinearProgress as LinearProgress
main =
LinearProgress.indeterminate LinearProgress.configSpecify 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)The linear progress indicator follows the direction that text flows, as
indicated by (the nearest anchestor's) rtl attribute.
To override that value, you may specify Html.Attributes.dir "rtl" (or "ltr")
insetAttributes`.
Linear progress configuration