Doc for (click) event
MicaelaLV opened this issue · comments
I'm looking for a way to attach the animation at a click event and the documentation doesn't provide any kind of assistance on that. And there's nothing online. Can you help me solve this issue?
The animation usage of the lib is like any other Angular animation and they must be triggered by a value (called state) transition. You can read more about them in the official doc for Angular animations, where there is an example of animated button on click.
Then you can also have a look at the demo application source, where animations are also triggered by a change of state on button click.
Let me know if you need more info.
Thank you very much @jiayihu