--
You received this message because you are subscribed to the Google Groups "elm-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elm-dev/CAF7GuPHzEVBbZs_TGD9nVH0mM4GNvK7RBD3Pjaqw%2BOv7ZAh8ug%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/elm-dev/CA%2BoRBFa64vr%3DWpT2MKEH95hSeHrWmGCAjVJOu%3DbD1Wd11MEMyg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/elm-dev/CAF7GuPHGEEwyKVJ9e_jL7AWiR-c0Z0WoidqvfmSCTz_8XAHxsA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elm-dev/CA%2BoRBFYx8o2PR9L-7Fc8ZteRCAdOgaPmYwxP%3DtcsAvp0qxTz6Q%40mail.gmail.com.
I guess I'm partly wondering if having this would lead people to write attributes less all-in-one-place and if that'd end up being bad. Like, maybe it's actually a benefit that this is harder to do because HTML and CSS are relatively frail to composition?
And, on the other hand, I think the Theme.button can be done without batch and still be nice
basicButton : (List (Html.Attribute msg) -> List (Html msg) -> Html msg) -> List (Html.Attribute msg) -> List (Html msg) -> Html msg
I guess I'm partly wondering if having this would lead people to write attributes less all-in-one-place and if that'd end up being bad.
To view this discussion on the web visit https://groups.google.com/d/msgid/elm-dev/CAF7GuPHO1FFBOZZFhyQEYh-1P-YG_nkyxhPdO-K%3DW8AeBwYRGA%40mail.gmail.com.
If you have Attributes.batch [] then presumably a separate Attributes.none would just be a convenience. :)
--
You received this message because you are subscribed to the Google Groups "elm-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-dev+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elm-dev/b4fb6494-ae4c-4c65-ba34-81558fece799%40googlegroups.com.
If you have Attributes.batch [] then presumably a separate Attributes.none would just be a convenience. :)
button
List.filterMap identity
[ Just someAttributes
, Just moreAttributes
, if model.something then (Just anotherAttribute) else Nothing
, if model.somethingElse then (Just yetAnotherAttribute) else Nothing
]--
You received this message because you are subscribed to the Google Groups "elm-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elm-dev/60d7cac0-4459-4933-8a80-60ea56fedc31%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elm-dev/CA%2BoRBFYyZz4K_TO5b-OarriyJ-DN5%2BmOZi5hN6b7m7qcVs8KDw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/elm-dev/CAF7GuPEEYHQGg7Qvwqafd3bnLgVWcmAQzfmVFa_PQMydGwbz%2Bg%40mail.gmail.com.
div (Animation.render model.style ++ [ onClick FadeInFadeOut , style [ ( "position", "relative" ) , ( "margin", "100px auto" ) , ( "padding", "25px" ) , ( "width", "200px" ) , ( "height", "200px" ) , ( "background-color", "#268bd2" ) , ( "color", "white" ) ] ] ) [ text "Click to Animate!" ]