Documentation
    Preparing search index...

    Interface TriggerCondition

    A trigger test (§18 "triggers").

    A trigger is a latch: AnimationController.setTrigger raises it and it stays raised — across any number of steps — until a transition that tests it fires and consumes it, or AnimationController.resetTrigger clears it. That is what makes setTrigger("jump") reliable from application code that does not know the fixed-step phase it ran in.

    interface TriggerCondition {
        is: "triggered";
        parameter: string;
    }
    Index
    is: "triggered"

    Discriminator; a trigger has only one test.

    parameter: string

    Name of a declared trigger parameter.