Explain router outlet?

Abdeljalil Timmi
Abdeljalil Timmi

Posted On: Jun 01, 2021

 

The router-outlet is a directive from the @angular/router package. In angular, it works as a placeholder which is used to load the different components dynamically based on the activated and to mark where a matched component should be inserted in a template.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Angular 7 Interview Questions

    What's new in Angular 7?

    Angular Elements is enabled to support content projection with the help of web standards for custom elements...

    Angular 7 Interview Questions

    What is IVY Renderer? Is it supported by Angular 7?

    Angular will be releasing a new kind of rendering pipeline and view engine...

    Angular 7 Interview Questions

    What are the Core Dependencies of Angular 7?

    Core DependenciesThere are two types of core dependencies: RxJS and TypeScript...