-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Have been meaning to do this for ages! Adding an Animated.elmCss helper would cover a lot of the common Html packages elm folks use.
A lot of the thought has been done in #20, so ideally the helper would look something like this:
import Html.Styled as Htmls
import Html.Styled.Attributes as Attr
import Simple.Animation exposing (Animation)
import Simple.Animation.Animated as Animated
animatedStyleNode :
(List (Htmls.Attribute msg) -> List (Htmls.Html msg) -> Htmls.Html msg)
-> Animation
-> List (Htmls.Attribute msg)
-> List (Htmls.Html msg)
-> Htmls.Html msg
animatedStyleNode =
Animated.elmCss
{ text = Htmls.text
, node = Htmls.node
, class = Attr.class
}Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request