On this page
LocationUpgradeConfig
interface
Configuration options for LocationUpgrade.
interface LocationUpgradeConfig {
useHash?: boolean
hashPrefix?: string
urlCodec?: typeof UrlCodec
serverBaseHref?: string
appBaseHref?: string
}
Properties
Property | Description |
---|---|
useHash?: boolean |
Configures whether the location upgrade module should use the |
hashPrefix?: string |
Configures the hash prefix used in the URL when using the |
urlCodec?: typeof UrlCodec |
Configures the URL codec for encoding and decoding URLs. Default is the |
serverBaseHref?: string |
Configures the base href when used in server-side rendered applications |
appBaseHref?: string |
Configures the base href when used in client-side rendered applications |
© 2010–2022 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v13.angular.io/api/common/upgrade/LocationUpgradeConfig