mdgriffith/style-elements/4.2.0

NOTE: this package is not compatible with Elm 0.19.1

Element.Keyed

Keyed Layouts

row :
style
-> List (Attribute variation msg)
-> List ( String, Element style variation msg )
-> Element style variation msg
style
-> List (Attribute variation msg)
-> List ( String, Element style variation msg )
-> Element style variation msg
style
-> List (Attribute variation msg)
-> List ( String, Element style variation msg )
-> Element style variation msg
style
-> List (Attribute variation msg)
-> List ( String, Element style variation msg )
-> Element style variation msg

Grids

type alias Grid style variation msg =
{ rows : List Length
, columns : List Length
, cells : List (OnGrid ( String, Element style variation msg ))
}
style
-> List (Attribute variation msg)
-> Grid style variation msg
-> Element style variation msg
GridPosition style variation msg
-> OnGrid ( String, Element style variation msg )

A specific position on a grid.

type alias NamedGrid style variation msg =
{ rows : List ( Length, List NamedGridPosition )
, columns : List Length
, cells :
List (NamedOnGrid ( String, Element style variation msg ))
}
style
-> List (Attribute variation msg)
-> NamedGrid style variation msg
-> Element style variation msg
String
-> Element style variation msg
-> NamedOnGrid ( String, Element style variation msg )

Specify a named postion on a namedGrid.

The name is used as the key.