8000
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
The "Animation" CPart would expose the Web Animations API in CPart format:
https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API
Also, importantly, some way to bind to a value, so there doesn't have to be a rerender, but there can be "bound" animations to state values.
Something like:
<Component> <Template> <div [animation.animate]></div> <button @click:=animation.play>Play!</button> </Template> <Animation duration:=1000 iterations:=3> {% frame %} transform: translate(0, 0) {% endframe %} </Animation> <Style> div { color :blue; }</Style> </Component>
Probably best as a recipe, though if the implementation is simple + useful enough, maybe an included CPart
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The "Animation" CPart would expose the Web Animations API in CPart format:
https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API
Also, importantly, some way to bind to a value, so there doesn't have to be a rerender, but there can be "bound" animations to state values.
Something like:
Probably best as a recipe, though if the implementation is simple + useful enough, maybe an included CPart
The text was updated successfully, but these errors were encountered: