Readonly
readyThe ready
read-only property of the FontFaceSet interface returns a Promise that resolves to the given FontFaceSet.
Readonly
statusThe status
read-only property of the FontFaceSet interface returns the loading state of the fonts in the set.
The addEventListener()
method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.
Optional
options: boolean | AddEventListenerOptionsThe addEventListener()
method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.
Optional
options: boolean | AddEventListenerOptionsThe check()
method of the FontFaceSet returns true
if you can render some text using the given font specification without attempting to use any fonts in this FontFaceSet
that are not yet fully loaded.
Optional
text: stringThe dispatchEvent()
method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order.
Optional
thisArg: anyThe load()
method of the FontFaceSet forces all the fonts given in parameters to be loaded.
Optional
text: stringThe removeEventListener()
method of the EventTarget interface removes an event listener previously registered with EventTarget.addEventListener() from the target.
Optional
options: boolean | EventListenerOptionsThe removeEventListener()
method of the EventTarget interface removes an event listener previously registered with EventTarget.addEventListener() from the target.
Optional
options: boolean | EventListenerOptions
The
FontFaceSet
interface of the CSS Font Loading API manages the loading of font-faces and querying of their download status.MDN Reference