You can choose one of these loaders:
The loaders will be rendered according on the LoadingState. If you pass Loading.On loader will be displayed, if Loading.Off loader will be hidden (will not be hidden by css, only node will be removed).
Loading.render takes 3 arguments: LoaderType, Config, LoadingState.
view : Model -> Html Msg
view model =
div []
[ Loading.render
DoubleBounce
{ defaultConfig | color = "#333" }
Loading.On
]