Skip to content

Trigger CSS animations from actions #83

Description

@kjeske

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
          );
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions