mapToCanActivateChild
function
Maps an array of injectable classes with canActivateChild functions to an array of equivalent
CanActivateChildFn
for use in a Route
definition.
API
Description
function mapToCanActivateChild( providers: Type<CanActivateChild>[]): CanActivateChildFn[];
mapToCanActivateChild
Maps an array of injectable classes with canActivateChild functions to an array of equivalent
CanActivateChildFn
for use in a Route
definition.
Usage {@example router/utils/functional_guards.ts region='CanActivate'}
@returns
CanActivateChildFn[]
Jump to details