nixCodeX/elm-bootstrap/2.0.1

NOTE: the latest version is 3.1.1

Renamed to aDifferentJT/elm-bootstrap. That is where the repository lives now. It has not been published as a package under the new name.

Versions published as nixCodeX/elm-bootstrap still install under that name. 13 versions of 13 come from the new location (see their notes).

Rerouted (renamed, verified). The GitHub user or repository was renamed. The tag is still there, at the new name. The Lamdera package server serves a copy recovered from https://github.com/aDifferentJT/elm-bootstrap.

What we checked: The repo moved to github.com/aDifferentJT/elm-bootstrap. Rebuilt with git archive from commit 77a30ed727b0 of https://github.com/aDifferentJT/elm-bootstrap (zip prefix nixCodeX-elm-bootstrap-77a30ed/, America/Los_Angeles times): the zip is byte-identical to the one package.elm-lang.org recorded, SHA-1 d4637469f6c86d5f9055b35cec2e56a92970c868.

The Lamdera compiler uses this copy and prints a one-line notice saying so. elm itself fails to download this version.

Details · package.elm-lang.org's zip: https://github.com/nixCodeX/elm-bootstrap/zipball/2.0.1/

Bootstrap.Spinner

Indicate the loading state of a component or page with Bootstrap spinners

Creating

spinner : List (Option msg) -> List (Html msg) -> Html msg

Create a spinner element for fun and profit.

Spinner.spinner
    [ Spinner.grow
    , Spinner.large
    , Spinner.color Text.secondary
    , Spinner.attrs
    ]
    [ Spinner.srMessage "Loading..." ]

Options

grow : Option msg

Make the spinner grow/shrink (default border spinner).

Make the spinner smaller.

Make the spinner larger.

color : Color -> Option msg

Set the spinner color by using one of the available Bootstrap.Text colors.

attrs : List (Attribute msg) -> Option msg

Use this function to handle any Html.Attribute option you wish for your spinner

type Option msg

Opaque type for spinner options.

Helpers

srMessage : String -> Html msg

Helper function to create a screen reader message element.