fysiweb/elm-gallery/1.0.0

Gallery.Image

Image slide

slide : List (Attribute msg) -> Url -> Size -> Html msg

Create an image slide that either fits or covers the gallery container

Definitions

type Size
= Cover
| Contain

How the image is displayed within it's container, same as CSS background-size

type alias Url =
String

Image url