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
If you try to do the following:
Animation.style [ Animation.top (percent 100) ] |> Animation.interrupt [ Animation.to [ Animation.top (px -200) ] ]
Note the (px -200)
(px -200)
It actually goes to (percent -200)
(percent -200)
The text was updated successfully, but these errors were encountered:
In this case the solution I had in mind was to go to 0% and then switch to pixels.
But then you need a way to guess how many pixels might your 15% be.
Animation.style [ Animation.top (percent 100) ] |> Animation.interrupt [ Animation.loop [ Animation.toWith (Animation.speed { perSecond = 15 }) [ Animation.top (percent 0) ] , Animation.set [ Animation.top (px 0) ] , Animation.toWith (Animation.speed { perSecond = 150 }) [ Animation.top (px -250) ] , Animation.set [ Animation.top (percent 100) ] ] ]
Sorry, something went wrong.
No branches or pull requests
If you try to do the following:
Note the
(px -200)
It actually goes to
(percent -200)
The text was updated successfully, but these errors were encountered: