FontFaceSetLoadEvent

Note: This feature is available in Web Workers.

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

Specification
CSS Font Loading Module Level 3
# fontfacesetloadevent

Browser compatibility

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
FontFaceSetLoadEvent
FontFaceSetLoadEvent() constructor
fontfaces
Available in workers

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support

See also