trigger
function
Creates a named animation trigger, containing a list of state()
and transition()
entries to be evaluated when the expression
bound to the trigger changes.
API
Usage Notes
function trigger( name: string, definitions: AnimationMetadata[]): AnimationTriggerMetadata;
trigger
Creates a named animation trigger, containing a list of state()
and transition()
entries to be evaluated when the expression
bound to the trigger changes.
@paramname
string
An identifying string.
@paramdefinitions
AnimationMetadata[]
An animation definition object, containing an array of
state()
and transition()
declarations.
@returns
AnimationTriggerMetadata
Jump to details