mirror of
https://github.com/Orasund/elm-ui-widgets.git
synced 2024-11-22 04:58:49 +03:00
Documentation for Progress Indicator widget
This commit is contained in:
parent
d7ed0dc423
commit
37fdefa3d2
@ -634,11 +634,18 @@ tab =
|
||||
- PROGRESS INDICATOR
|
||||
----------------------------------------------------------}
|
||||
|
||||
{-| Progress Indicator widget type
|
||||
|
||||
If `maybeProgressPercent` is set to `Nothing`, an indeterminate progress indicator (e.g. spinner) will display.
|
||||
If `maybeProgressPercent` is set to `Just Int` (where the `Int` is completion percentage between 0 and 100 inclusive), a determinate progress indicator will visualize the completion percentage.
|
||||
|
||||
-}
|
||||
type alias ProgressIndicator =
|
||||
{ maybeProgressPercent : Maybe Int }
|
||||
|
||||
|
||||
{-| Displays a circular progress indicator
|
||||
-}
|
||||
circularProgressIndicator :
|
||||
ProgressIndicatorStyle msg
|
||||
-> { maybeProgressPercent : Maybe Int }
|
||||
|
Loading…
Reference in New Issue
Block a user