MDN self-hosted library · e01.org

FontFace: loaded property

CSS Font Loading API

no runnable cells web-api-instance-property upstream source

CSS Font Loading API

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.

Value

A Promise that resolves with the current FontFace object.

Specifications

Browser compatibility