Created
June 13, 2020 13:55
-
-
Save CliffCrerar/1cebd498f264977c72799ea170c013ee to your computer and use it in GitHub Desktop.
Angular Router config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const routerConfig = { | |
| // enableTracing?: boolean | |
| // useHash?: boolean | |
| // initialNavigation?: InitialNavigation | |
| // errorHandler?: ErrorHandler | |
| // preloadingStrategy?: any | |
| // onSameUrlNavigation?: 'reload' | 'ignore' | |
| // scrollPositionRestoration?: 'disabled' | 'enabled' | 'top' | |
| // anchorScrolling?: 'disabled' | 'enabled' | |
| // scrollOffset?: [number, number] | (() => [number, number]) | |
| // paramsInheritanceStrategy?: 'emptyOnly' | 'always' | |
| // malformedUriErrorHandler?: (error: URIError, urlSerializer: UrlSerializer, url: string) => UrlTree | |
| // urlUpdateStrategy?: 'deferred' | 'eager' | |
| // relativeLinkResolution?: 'legacy' | 'corrected' | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment