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

  1. remoteDocumentIds

    (Required)

    Type: Array<RemoteDocumentId>

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

Returns

Type: Promise

Should resolve to undefined