Created
October 14, 2016 11:33
-
-
Save emanchado/2062da6bb83bc7ce6c7f4e94484f2570 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
view : Model -> Html Msg | |
view model = | |
div [] | |
[ button [ onClick Decrement ] [ text "-" ] | |
, div [ countStyle ] [ text (toString model.count) ] | |
, button [ onClick Increment ] [ text "+" ] | |
, span [] [ text (" Min: " ++ (toString model.minCount)) ] | |
, span [] [ text (" Max: " ++ (toString model.maxCount)) ] | |
, span [] [ text (" Times clicked: " ++ (toString model.numberClicks)) ] | |
] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment