FontFaceSet: status property

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.

Value

One of:

Examples

In the following example the status of the FontFaceSet is printed to the console.

js
console.log(document.fonts.status);

Specifications