The FontFaceSetLoadEvent
interface of the CSS Font Loading API represents events fired at a FontFaceSet
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
).
Event FontFaceSetLoadEvent
Constructor
FontFaceSetLoadEvent()
Creates a new FontFaceSetLoadEvent
object.
Instance properties
Also inherits properties from its parent Event
.
FontFaceSetLoadEvent.fontfaces
Read only
Returns an array of FontFace
instances. 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
Browser compatibility
Desktop
Mobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on IOS
Samsung Internet
WebView Android
FontFaceSetLoadEvent
57
79
41
44
No
57
41
43
No
7.0
57
FontFaceSetLoadEvent
35
79
41
22
No
35
41
22
No
3.0
37
fontfaces
35
79
41
22
No
35
41
22
No
3.0
37
worker_support
69
79
105
56
No
69
105
48
No
10.0
No
See also