We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I needed to change the scaleX and scaleY independently and it was not trivial to understand that is possible to create helpers like.
I think either adding this as example in the documentation or including the most important in the code could be beneficial for beginners.
scaleXY : Timeline state -> (state -> { x : Movement, y : Movement }) -> Html.Attribute msg scaleXY timeline lookup = let pos = Animator.xy timeline lookup in Html.Attributes.style "transform" ("scaleX(" ++ String.fromFloat pos.x ++ ") scaleY(" ++ String.fromFloat pos.y ++ ")")
Thanks to @dmy to came out with the idea for this helper
The text was updated successfully, but these errors were encountered:
Good call, the documentation could be clearer in showing people how to "manually" put these together.
Sorry, something went wrong.
No branches or pull requests
I needed to change the scaleX and scaleY independently and it was not trivial to understand that is possible to create helpers like.
I think either adding this as example in the documentation or including the most important in the code could be beneficial for beginners.
Thanks to @dmy to came out with the idea for this helper
The text was updated successfully, but these errors were encountered: