W3cubDocs

/Web APIs

FontFaceSetLoadEvent

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 Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
FontFaceSetLoadEvent 57 79 41 No 44 No No 57 41 43 No 7.0
FontFaceSetLoadEvent 35 79 41 No 22 No No 35 41 22 No 3.0
fontfaces 35 79 41 No 22 No No 35 41 22 No 3.0
worker_support 69 79 105 No 56 No No 69 105 48 No 10.0

See also

© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSetLoadEvent