mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
This adapter adds an integration with the Navigation API, allowing SPA Router navigations to be displayed more fully in the browser UI. With this, site visitors will be able to see that a page is loading via the loading spinner in the tab. They will also have access to cancel the navigation with the browser UI via the "stop" button or by pressing the escape key (only relevant for slower connections). * https://github.com/WICG/navigation-api * https://developer.mozilla.org/en-US/docs/Web/API/Navigation_API PR Close #60722
14 lines
409 B
TypeScript
14 lines
409 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
|
|
*/
|
|
|
|
import {DocContent} from './doc-content';
|
|
|
|
/** The service responsible for fetching static content for docs pages */
|
|
export interface DocsContentLoader {
|
|
getContent(path: string): Promise<DocContent>;
|
|
}
|