• Overview
@angular/router

withPreloading

function

Allows to configure a preloading strategy to use. The strategy is configured by providing a reference to a class that implements a PreloadingStrategy.

  
    function withPreloading(  preloadingStrategy: Type<PreloadingStrategy>): PreloadingFeature;
  
  

withPreloading

Allows to configure a preloading strategy to use. The strategy is configured by providing a reference to a class that implements a PreloadingStrategy.

@parampreloadingStrategyType<PreloadingStrategy>

A reference to a class that implements a PreloadingStrategy that should be used.

Jump to details