mapToCanDeactivate
function
Maps an array of injectable classes with canDeactivate functions to an array of equivalent
CanDeactivateFn for use in a Route definition.
API
Description
mapToCanDeactivate( providers: Type<{ canDeactivate: CanDeactivateFn<T>; }>[]): CanDeactivateFn<T>[];Jump to details