Skip to content

Commit a94ccc6

Browse files
committed
feat(core): Allow passing preserveFragment
fixes #39
1 parent 3f30355 commit a94ccc6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

projects/ngqp/core/src/lib/router-adapter/router-adapter.interface.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,15 @@ export interface RouterAdapter {
3030
*/
3131
export interface RouterOptions {
3232
replaceUrl?: boolean;
33+
preserveFragment?: boolean;
3334
}
3435

3536
/**
3637
* See {@link RouterOptions}.
3738
*/
3839
export const DefaultRouterOptions: RouterOptions = {
3940
replaceUrl: true,
41+
preserveFragment: true,
4042
};
4143

4244
/** @internal */

0 commit comments

Comments
 (0)