uncover-co / elm-widgets / W.Container

view : List (Attribute msg) -> List (Html msg) -> Html msg

Styles

vertical : Attribute msg

horizontal : Attribute msg

inline : Attribute msg

noWrap : Attribute msg

fill : Attribute msg

background : String -> Attribute msg

card : Attribute msg

rounded : Attribute msg

extraRounded : Attribute msg

shadow : Attribute msg

largeShadow : Attribute msg

Layouts

largeScreen : List (Attribute msg) -> Attribute msg

alignTop : Attribute msg

alignBottom : Attribute msg

alignLeft : Attribute msg

alignRight : Attribute msg

alignCenterX : Attribute msg

alignCenterY : Attribute msg

spaceBetween : Attribute msg

spaceAround : Attribute msg

fillSpace : Attribute msg

Padding

pad_0 : Attribute msg

pad_1 : Attribute msg

pad_2 : Attribute msg

pad_3 : Attribute msg

pad_4 : Attribute msg

pad_6 : Attribute msg

pad_8 : Attribute msg

pad_12 : Attribute msg

pad_16 : Attribute msg

padX_0 : Attribute msg

padX_1 : Attribute msg

padX_2 : Attribute msg

padX_3 : Attribute msg

padX_4 : Attribute msg

padX_6 : Attribute msg

padX_8 : Attribute msg

padX_12 : Attribute msg

padX_16 : Attribute msg

padY_0 : Attribute msg

padY_1 : Attribute msg

padY_2 : Attribute msg

padY_3 : Attribute msg

padY_4 : Attribute msg

padY_6 : Attribute msg

padY_8 : Attribute msg

padY_12 : Attribute msg

padY_16 : Attribute msg

padLeft_0 : Attribute msg

padLeft_1 : Attribute msg

padLeft_2 : Attribute msg

padLeft_3 : Attribute msg

padLeft_4 : Attribute msg

padLeft_6 : Attribute msg

padLeft_8 : Attribute msg

padLeft_12 : Attribute msg

padLeft_16 : Attribute msg

padRight_0 : Attribute msg

padRight_1 : Attribute msg

padRight_2 : Attribute msg

padRight_3 : Attribute msg

padRight_4 : Attribute msg

padRight_6 : Attribute msg

padRight_8 : Attribute msg

padRight_12 : Attribute msg

padRight_16 : Attribute msg

padTop_0 : Attribute msg

padTop_1 : Attribute msg

padTop_2 : Attribute msg

padTop_3 : Attribute msg

padTop_4 : Attribute msg

padTop_6 : Attribute msg

padTop_8 : Attribute msg

padTop_12 : Attribute msg

padTop_16 : Attribute msg

padBottom_0 : Attribute msg

padBottom_1 : Attribute msg

padBottom_2 : Attribute msg

padBottom_3 : Attribute msg

padBottom_4 : Attribute msg

padBottom_6 : Attribute msg

padBottom_8 : Attribute msg

padBottom_12 : Attribute msg

padBottom_16 : Attribute msg

Gaps

gap_0 : Attribute msg

gap_1 : Attribute msg

gap_2 : Attribute msg

gap_3 : Attribute msg

gap_4 : Attribute msg

gap_6 : Attribute msg

gap_8 : Attribute msg

gap_12 : Attribute msg

gap_16 : Attribute msg

Html

node : String -> Attribute msg

styleAttrs : List ( String, String ) -> Attribute msg

Used to pass in extra styles to your container.

W.Container.view
    [ W.Container.styles
        [ ( "height", "200px" )
        , ( "position", "relative" )
        ]
    ]
    []

htmlAttrs : List (Html.Attribute msg) -> Attribute msg

Note that for style attributes you should use the styleAttrs attribute instead.

noAttr : Attribute msg


type Attribute msg