Possibility to trigger CSS animation in the Hydro action handlers:
public class ProductList : HydroComponent
{
public void Buy()
{
Client.Animate(
name: Animation.Scale,
duration: 200,
delay: 0, // optional; default 0
easing: Easing.EaseInOut, // optional; default Easing.EaseInOut
target: AnimationTarget.ActionTrigger, // optional; default Component
);
}
}
Possibility to trigger CSS animation in the Hydro action handlers: