• Overview
@angular/router

TitleStrategy

Class

Provides a strategy for setting the page title after a router navigation.

  
    abstract class TitleStrategy {}
  
  

updateTitle

void

Performs the application title update.

@paramsnapshotRouterStateSnapshot
@returnsvoid

buildTitle

string | undefined
@paramsnapshotRouterStateSnapshot
@returnsstring | undefined

getResolvedTitleForRoute

any

Given an ActivatedRouteSnapshot, returns the final value of the Route.title property, which can either be a static string or a resolved value.

@returnsany
Jump to details