### File

`src/lib/empty-router-outlet/empty-router-outlet.component.ts`

### Metadata

changeDetection | `ChangeDetectionStrategy.OnPush`
selector | `rxap-empty-router-outlet`
imports | `RouterOutlet`
templateUrl | `./empty-router-outlet.component.html`

    import {
      ChangeDetectionStrategy,
      Component,
    } from '@angular/core';
    import { RouterOutlet } from '@angular/router';

    @Component({
        // the selector is required to prevent a component ID collision with the component ɵEmptyOutletComponent from the @angular/router package
        selector: 'rxap-empty-router-outlet',
        templateUrl: './empty-router-outlet.component.html',
        changeDetection: ChangeDetectionStrategy.OnPush,
        imports: [RouterOutlet]
    })
    export class EmptyRouterOutletComponent {
    }

    <router-outlet></router-outlet>

Legend
Html element
Component
Html element with directive

# results matching ""

# No results matching ""