GitHub

DaffRouterNamedViewOutletDirective

Renders a named view of the current route. The named view should be defined in the route configuration according to the DaffRouteWithNamedViews type.

import { DaffRouterNamedViewOutletDirective } from '@daffodil/router'
@Directive()
class DaffRouterNamedViewOutletDirective implements OnInit, OnChanges, OnDestroy {
  @Input() daffRouterNamedViewOutlet: string
  ngOnDestroy(): void
  ngOnChanges(changes: SimpleChanges): void
  ngOnInit(): void
}
Selector: '[daffRouterNamedViewOutlet]'

Properties

Name Type Description
@Input() daffRouterNamedViewOutlet string

The router named view to attempt to render.

ngOnDestroy void
ngOnChanges void
ngOnInit void