Note: This feature is available in Web Workers.
The FontFaceSetLoadEvent() constructor creates a new FontFaceSetLoadEvent object which is fired whenever a FontFaceSet loads.
new FontFaceSetLoadEvent(type)
new FontFaceSetLoadEvent(type, options)typeA string with the name of the event. It is case-sensitive and browsers always set it to loading, loadingdone, or loadingerror.
options OptionalAn object that, in addition of the properties defined in Event(), can have the following properties:
fontfaces OptionalAn array of FontFace instances. It defaults to the empty array.
A new FontFaceSetLoadEvent object.