The loaded
read-only property of the FontFace
interface returns a Promise
that resolves with the current FontFace
object when the font specified in the object's constructor is done loading or rejects with a SyntaxError
.
The loaded
read-only property of the FontFace
interface returns a Promise
that resolves with the current FontFace
object when the font specified in the object's constructor is done loading or rejects with a SyntaxError
.
A Promise
that resolves with the current FontFace
object.
Specification |
---|
CSS Font Loading Module Level 3 # dom-fontface-loaded |
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
loaded |
37 | 79 | 41 | No | 24 | 10 | 37 | 37 | 41 | 24 | 10 | 4.0 |
© 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/FontFace/loaded