Note: This feature is available in Web Workers.
The status read-only property of the FontFaceSet interface returns the loading state of the fonts in the set.
One of:
"loading""loaded"In the following example the status of the FontFaceSet is printed to the console.
console.log(document.fonts.status);