getLoadingStateForDocumentReference

Type: Function

How to get getLoadingStateForDocumentReference?

JavaScript

import getLoadingStateForDocumentReference from 'fontoxml-remote-documents/src/getLoadingStateForDocumentReference.js'

Gets the summarized loading state for the given DocumentReference. To be used in cases where the corresponding document or a placeholder for loading it is shown in the UI.

Arguments

  1. documentReference

    (Required)

Returns

Type: Object

Properties