LoadInitialDocumentsHandler

Type: Function

Required. Called to load the root-level documents. Should return a Promise which resolves when loading is completed and the DocumentsHierarchy has been constructed.

Arguments

# Name Type Description
1. remoteDocumentIds Array<RemoteDocumentId>

The documents to load, usually determined by the scope query string parameter passed to Fonto.

Returns

Type: Promise

Should resolve to undefined

Related links

Was this page helpful?