rl-king / elm-gallery / Gallery.Image

Image slide

slide : 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