nixCodeX/elm-bootstrap/2.1.0

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 da8645b1cd89 of https://github.com/aDifferentJT/elm-bootstrap (zip prefix nixCodeX-elm-bootstrap-da8645b/, America/Los_Angeles times): the zip is byte-identical to the one package.elm-lang.org recorded, SHA-1 f18e039a14f9a8efe5c0cee7ceb6e3fc5508da5c.

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.1.0/

Bootstrap.Carousel.Slide

A slide is used as part of a carousel

Slide.config []
    (Slide.image [ Attributes.alt "slide 1" ] "https://...")
    |> Slide.caption []
        [ h3 [] [ text "First slide label" ]
        , p [] []
        ]

Slide

type alias Config msg =
Config msg

Opaque type that defines the view configuration information of your slide

config : List (Attribute msg) -> SlideContent msg -> Config msg

Creates an initial/default view configuration for a slide

caption : List (Attribute msg) -> List (Html msg) -> Config msg -> Config msg

Add a caption to your slide

The captions are automatically hidden on small devices.

Content

type alias SlideContent msg =
SlideContent msg

Opaque type that defines the content of a slide

image : List (Attribute msg) -> String -> SlideContent msg

Populate a slide with an image.

  • attributes List of attributes
  • src the src attribute for the image
customContent : Html msg -> SlideContent msg

Populate a slide with whatever html you want