Getting Started
Writing content
API Documentation
Customization
Recipes
API References Develop
@ng-doc/app / Class

NgDocRouteActiveDirective

Decorators:@Directive @UntilDestroy
Selectors:[ngDocRouteActive]

No documentation has been provided.

Constructor

No documentation has been provided.

Presentation
constructor(
	private readonly elementRef: ElementRef<HTMLElement>, 
	private readonly router: Router, 
	private readonly renderer: Renderer2
): NgDocRouteActiveDirective;
Parameters
NameTypeDescription
r
elementRef
ElementRef<HTMLElement>
r
router
Router
r
renderer
Renderer2

Properties

NameTypeDescription
activeClass
string | string[]
matchOptions
IsActiveMatchOptions