Orasund / elm-ui-framework / Framework.Button

This module contains attributes to style buttons.

Input.button (Button.simple ++ Color.primary) <|
    { onPress = Nothing
    , label = Element.text "Button.simple ++ Color.primary"
    }

The attribute can only be used on Input.button but it may be with additional attibutes from this package.

simple : List (Element.Attribute msg)

A simple Button styling. Check the source-code for more information.

fill : List (Element.Attribute msg)

A Button that fills the avaliable area. Check the source code for more information.

DEPRECATED

groupLeft : List (Element.Attribute msg)

DEPRECATED. Use (Button.simple ++ Group.left) instead

groupCenter : List (Element.Attribute msg)

DEPRECATED. Use (Button.simple ++ Group.top) instead

groupRight : List (Element.Attribute msg)

DEPRECATED. Use (Button.simple ++ Group.right) instead

groupTop : List (Element.Attribute msg)

DEPRECATED. Use (Button.simple ++ Group.top) instead

groupBottom : List (Element.Attribute msg)

DEPRECATED. Use (Button.simple ++ Group.top) instead