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 [] []
]
Bootstrap.Carousel.SlideInternal.Config msg
Opaque type that defines the view configuration information of your slide
config : List (Html.Styled.Attribute msg) -> SlideContent msg -> Config msg
Creates an initial/default view configuration for a slide
caption : List (Html.Styled.Attribute msg) -> List (Html.Styled.Html msg) -> Config msg -> Config msg
Add a caption to your slide
The captions are automatically hidden on small devices.
Bootstrap.Carousel.SlideInternal.SlideContent msg
Opaque type that defines the content of a slide
image : List (Html.Styled.Attribute msg) -> String -> SlideContent msg
Populate a slide with an image.
attributes
List of attributessrc
the src
attribute for the imagecustomContent : Html.Styled.Html msg -> SlideContent msg
Populate a slide with whatever html you want