FontFace: loaded property

فهرست فصل‌ها دانلود آرشیوناشر

MDN Web Docs · نسخهٔ df622a2a1c1e · CC BY-SA 2.5 و مجوز جداگانهٔ ناشر برای نمونه‌کد

{{APIRef("CSS Font Loading API")}}{{AvailableInWorkers}}

The **loaded** read-only property of the {{domxref("FontFace")}} interface returns a {{jsxref('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 {{jsxref('Promise')}} that resolves with the current FontFace object.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}