• Overview
@angular/common/upgrade

LocationUpgradeConfig

interface

Configuration options for LocationUpgrade.

  
    interface LocationUpgradeConfig {}
  
  

useHash

boolean | undefined

Configures whether the location upgrade module should use the HashLocationStrategy or the PathLocationStrategy

hashPrefix

string | undefined

Configures the hash prefix used in the URL when using the HashLocationStrategy

urlCodec

typeof UrlCodec | undefined

Configures the URL codec for encoding and decoding URLs. Default is the AngularJSCodec

serverBaseHref

string | undefined

Configures the base href when used in server-side rendered applications

appBaseHref

string | undefined

Configures the base href when used in client-side rendered applications

Jump to details