Generic Elements
counter : List (Html.Attribute msg) -> Basics.Int -> Html msg
A simple rounded counter
counter [ class "foo" ] 10
It displays the number n within a circle
link : Types.Url -> List (Html.Attribute msg)
Safely creates a link
External urls append a target:blank_
that forces the navigator to open then
in a different tab.
tags : List String -> Html msg
Renders a list of strings as tags
title : String -> Html msg
Main title of page
container : List (Html msg) -> Html msg
Main container element for page content.
list : (a -> Html msg) -> List (Html.Attribute msg) -> List a -> Html msg
Render a list of a's as an
It uses the first argument to convert a's to Html's.
list text [] [ "foo", "bar", "baz" ]
urlList : List (Html.Attribute msg) -> ( String, List ( Types.Url, String ) ) -> Html msg
Render a list of (url, name) pairs as an
If the list is empty, it produces a div [] [ text fallback ]
sections : List (Html.Attribute msg) -> List ( String, List (Html msg) ) -> Html msg
Create a description list from a list of titles and their corresponding Html content.
longPlaceholderText : String
A string that can be used as a placeholder for unloaded data
shortPlaceholderText : String
A string that can be used as a placeholder for unloaded data
loremText : String
A string that can be used as a placeholder for unloaded data