BrowserModule
From Get docs
< @angular/platform-browserAngular/docs/9/api/platform-browser/browsermodule
BrowserModule
ngmodule
Exports required infrastructure for all Angular apps. Included by default in all Angular apps created with the CLI new
command. Re-exports CommonModule
and ApplicationModule
, making their exports and providers available to all apps.
class BrowserModule {
static withServerTransition(params: { appId: string; }): ModuleWithProviders<BrowserModule>
}
Static methods
withServerTransition() | |||
---|---|---|---|
Configures a browser-based app to transition from a server-rendered app, if one is present on the page. | |||
static withServerTransition(params: { appId: string; }): ModuleWithProviders<BrowserModule>Parameters
Returns
|
Providers
Provider |
---|
|
© 2010–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v9.angular.io/api/platform-browser/BrowserModule