FontFaceSetLoadEvent
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Note: This feature is available inWeb Workers.
TheFontFaceSetLoadEvent interface of theCSS Font Loading API represents events fired at aFontFaceSet after it starts loading font faces.
Events are fired when font loading starts (loading), loading completes (loadingdone) or there is an error loading one of the fonts (loadingerror).
In this article
Constructor
FontFaceSetLoadEvent()Creates a new
FontFaceSetLoadEventobject.
Instance properties
Also inherits properties from its parentEvent.
FontFaceSetLoadEvent.fontfacesRead onlyReturns an array of
FontFaceinstances.Depending on the event, the array will contain font faces that are loading (loading), have successfully loaded (loadingdone), or have failed to load (loadingerror).
Instance methods
Inherits methods from its parent,Event.
Specifications
| Specification |
|---|
| CSS Font Loading Module Level 3> # fontfacesetloadevent> |