nathanjohnson320/elm-ui-components/2.2.0

NOTE: the latest version is 2.3.0

Unavailable. Nobody can download this version any more, with elm or with the Lamdera compiler: github.com/nathanjohnson320/elm-ui-components is gone (deleted or private); Software Heritage not asked yet (this run's --swh-calls were used up); no fork with tag 2.2.0 found (3 same-name repos checked); no cached copy. Use another version.

Details

ElmUIC.Arrow

A directional arrow

type alias Arrow =
{ direction : Direction
, size : Size
}

Base model for an arrow

= Up
| Down
| Left
| Right

The possible directions you want the arrow to point

defaultArrow : Arrow

Instantiates the default properties of an arrow

{ defaultArrow | direction = Right }
arrow : Theme -> Arrow -> List (Attribute msg) -> List (Html msg) -> Html msg

A styled arrow

arrow defaultTheme defaultArrow [] []