perzanko/elm-loading/1.0.0

NOTE: the latest version is 2.0.5

Loading

Lorem ipsum dolor....

Config

type alias Config =
{ size : Float
, color : String
, className : String
, speed : Float
}

Loader types

= DoubleBounce
| Spinner
| BouncingBalls
| Bars
| Circle
| Sonar

Loading states

= On
| Off

Default config

defaultConfig : Config

Initialize model

init : Config -> LoadingState -> Model

Show loader

show : LoaderType -> Model -> Html a