On this page
BrowserTransferStateModule
class
| npm Package | @angular/platform-browser |
|---|---|
| Module | import { BrowserTransferStateModule } from '@angular/platform-browser'; |
| Source | platform-browser/src/browser/transfer_state.ts |
Overview
class BrowserTransferStateModule {
}
Description
NgModule to install on the client side while using the TransferState to transfer state from server to client.
Annotations
@NgModule({ providers: [{ provide: TransferState, useFactory: initTransferState, deps: [DOCUMENT, APP_ID] }] })
© 2010–2018 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v5.angular.io/api/platform-browser/BrowserTransferStateModule