@@ -13,7 +13,7 @@ combine and position.
13@docs widthOf, heightOf, sizeOf
13@docs widthOf, heightOf, sizeOf
16−@docs flow, up, down, left, right, inward, outward, empty
16+@docs flow, up, down, left, right, inward, outward
18## Layout Aliases
18## Layout Aliases
19There are also some convenience functions for working
19There are also some convenience functions for working
@@ -22,7 +22,7 @@ with `flow` in specific cases:
22@docs layers, above, below, beside
22@docs layers, above, below, beside
24# Positioning
24# Positioning
25−@docs spacer, container
25+@docs empty, spacer, container
27## Specific Positions
27## Specific Positions
@@ -58,7 +58,10 @@ type Properties = {
59type Element = { props : Properties, element : ElementPrim }
59type Element = { props : Properties, element : ElementPrim }
61−{-| An Element that takes up no space -}
61+{-| An Element that takes up no space. Good for things that appear conditionally:
63+ flow down [ img1, if showMore then img2 else empty ]
62empty : Element
65empty : Element
63empty = spacer 0 0
66empty = spacer 0 0