填寫這份《一分鐘調查》,幫我們(開發組)做得更好!去填寫Home

BrowserTransferStateModule

要安裝在客戶端的 NgModule,它同時會使用 TransferState 將狀態從伺服器傳輸到客戶端。

NgModule to install on the client side while using the TransferState to transfer state from server to client.

      
      class BrowserTransferStateModule {
}
    

提供商

提供商
      
      { provide: TransferState, useFactory: initTransferState, deps: [DOCUMENT, APP_ID] }