@ -89,7 +89,11 @@ export const BROWSER_MODULE_PROVIDERS: StaticProvider[] = [
|
||||
];
|
||||
|
||||
/**
|
||||
* The ng module for the browser.
|
||||
* Exports required infrastructure for all Angular apps.
|
||||
* Included by defaults in all Angular apps created with the CLI
|
||||
* `new` command.
|
||||
* Re-exports `CommonModule` and `ApplicationModule`, making their
|
||||
* exports and providers available to all apps.
|
||||
*
|
||||
*
|
||||
*/
|
||||
@ -103,9 +107,12 @@ export class BrowserModule {
|
||||
}
|
||||
|
||||
/**
|
||||
* Configures a browser-based application to transition from a server-rendered app, if
|
||||
* one is present on the page. The specified parameters must include an application id,
|
||||
* which must match between the client and server applications.
|
||||
* Configures a browser-based app to transition from a server-rendered app, if
|
||||
* one is present on the page.
|
||||
*
|
||||
* @param params An object containing an identifier for the app to transition.
|
||||
* The ID must match between the client and server versions of the app.
|
||||
* @returns The reconfigured `BrowserModule` to import into the app's root `AppModule`.
|
||||
*
|
||||
* @experimental
|
||||
*/
|
||||
|
Reference in New Issue
Block a user