FontFaceSetLoadEvent: FontFaceSetLoadEvent() constructor
The FontFaceSetLoadEvent()
constructor creates a new
FontFaceSetLoadEvent
object which is fired whenever a
FontFaceSet
loads.
Syntax
js
new FontFaceSetLoadEvent(type)
new FontFaceSetLoadEvent(type, options)
Parameters
Return value
A new FontFaceSetLoadEvent
object.
Specifications
Specification |
---|
CSS Font Loading Module Level 3 # dom-fontfacesetloadevent-fontfacesetloadevent |
Browser compatibility
BCD tables only load in the browser