mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
This publishes the work that was done to integrate with the Navigation API as an experimental router feature. Browser support is limited and in active development. There are also known bugs in the browser implementations and only Chromium browsers supported deferred URL updates with the `precommitHandler`. Relates to #53321, which I would likely not mark as completed until this is at least in dev preview, which likely won't happen until it is widely available and potentially delayed until `precommitHandler` is widely available as well. The final form of this api might not even be a "router feature" in the end, but instead be something similar to what other frameworks have to provide different platform integrations (e.g. `provideNavigationRouter`). That would support omitting the history-based integration from the bundle when only the navigation integration is used. Alternatively, the current `provideRouter` could require one of `withHistory` or `withPlatformNavigation`.
13 lines
569 B
TypeScript
13 lines
569 B
TypeScript
/**
|
|
* @license
|
|
* Copyright Google LLC All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.dev/license
|
|
*/
|
|
|
|
export {ɵEmptyOutletComponent} from './components/empty_outlet';
|
|
export {RestoredState as ɵRestoredState} from './navigation_transition';
|
|
export {loadChildren as ɵloadChildren} from './router_config_loader';
|
|
export {ROUTER_PROVIDERS as ɵROUTER_PROVIDERS} from './router_module';
|
|
export {afterNextNavigation as ɵafterNextNavigation} from './utils/navigations';
|