bigardone/elm-css-placeholders/1.0.0

NOTE: the latest version is 2.0.1

Placeholders.Rectangle

Renders a rectangle placeholder.

Definition

type alias Rectangle =
{ backgroundColor : Color
, borderRadius : Px
, height : Px
}

Represents the configuration for a rectangle placeholder

default : Rectangle

Returns a default configuration for a rectangle placeholder.

View

view : Rectangle -> Html msg

Renders a rectangle placeholder using the given configuration.