@angular/router

mapToCanActivateChild

function

Maps an array of injectable classes with canActivateChild functions to an array of equivalent CanActivateChildFn for use in a Route definition.

mapToCanActivateChild(
providers: Type<CanActivateChild>[]
): CanActivateChildFn[];
Jump to details