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
@ -6,7 +6,8 @@
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
export const ANY_STATE = '*';
|
||||
export declare type TransitionMatcherFn = (fromState: any, toState: any) => boolean;
|
||||
export declare type TransitionMatcherFn =
|
||||
(fromState: any, toState: any, element: any, params: {[key: string]: any}) => boolean;
|
||||
|
||||
export function parseTransitionExpr(
|
||||
transitionValue: string | TransitionMatcherFn, errors: string[]): TransitionMatcherFn[] {
|
||||
|
Reference in New Issue
Block a user