@novorender/web_app / createOfflineViewState
Function: createOfflineViewState()
function createOfflineViewState(storage): Promise<OfflineViewState>
Create and initialize an offline view state object.
Parameters
Parameter | Type | Description |
---|---|---|
storage | OfflineStorageOPFS | The offline storage to use. |
Returns
Promise
<OfflineViewState
>