feat(animations): expose element
and params
within transition matchers (#22693)
PR Close #22693
This commit is contained in:

committed by
Kara Erickson

parent
db56836425
commit
58b94e6f5e
@ -248,7 +248,8 @@ export class AnimationTransitionNamespace {
|
||||
}
|
||||
});
|
||||
|
||||
let transition = trigger.matchTransition(fromState.value, toState.value);
|
||||
let transition =
|
||||
trigger.matchTransition(fromState.value, toState.value, element, toState.params);
|
||||
let isFallbackTransition = false;
|
||||
if (!transition) {
|
||||
if (!defaultToFallback) return;
|
||||
|
Reference in New Issue
Block a user