tj / elm-svg-loaders / Svg.Loaders

SVG loading indicators.

Loaders

audio : List Option -> Html msg

Audio loading indicator.

bars : List Option -> Html msg

Bars loading indicator.

grid : List Option -> Html msg

Grid loading indicator.

puff : List Option -> Html msg

Puff loading indicator.

rings : List Option -> Html msg

Rings loading indicator.

Options

size : Basics.Int -> Model -> Model

Size defines the width of the loading indicator, the height is adjusted accordingly if necessary to retain the correct aspect ratio.

color : String -> Model -> Model

Color defines the primary color of the indicator.