A component to save as a media card or general container
Opaque Card
element that can produce msg
messages
card : List (Element msg) -> Card msg
Constructs a card element with list Element msg
as the "body" content
withTitle : String -> Card msg -> Card msg
Configures the Card
to have title text above the "body" content
withFooter : Element msg -> Card msg -> Card msg
Configures the Card
to have a footer element with the context passed
withBodyPadding : Basics.Int -> Card msg -> Card msg
Appeals padding to the "body" content
withBodyPaddingXY : Basics.Int -> Basics.Int -> Card msg -> Card msg
Appeals padding to the "body" content
withBodyPaddingEach : { top : Basics.Int, right : Basics.Int, bottom : Basics.Int, left : Basics.Int } -> Card msg -> Card msg
Appeals padding to the "body" content
withBodySpacing : Basics.Int -> Card msg -> Card msg
Appeals spacing to the "body" content
withBodySpacingXY : Basics.Int -> Basics.Int -> Card msg -> Card msg
Appeals spacing to the "body" content
withBodySpaceEvenly : Card msg -> Card msg
Appeals spacing to the "body" content
toMarkup : Card msg -> Element msg
Given the custom type representation, renders as an Element msg
.