FontFaceSetLoadEvent()
Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The FontFaceSetLoadEvent()
constructor creates a new FontFaceLoadEvent
object which is fired whenever a FontFaceSet
loads.
Syntax
var fontFaceSetLoadEvent = new FontFaceSetLoadEvent(type[, options])
Parameters
- type
-
The literal value
'Type'
(quotation marks included). - options Optional
-
Options are as follows:
-
fontfaces
: An array ofFontFace
instances.
-
Specifications
Specification |
---|
CSS Font Loading Module Level 3 (CSS Font Loading 3) # dom-fontfacesetloadevent-fontfacesetloadevent |
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 |
© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSetLoadEvent/FontFaceSetLoadEvent