css module
CSS font loading
The CSS font loading module describes events and interfaces used for dynamically loading font resources.
Reference
Interfaces
fontFaceinterfaceFontFace()constructorfamilypropertystylepropertyweightpropertystretchpropertyunicodeRangepropertyvariantpropertyfeatureSettingspropertyvariationSettingspropertydisplaypropertyascentOverridepropertydescentOverridepropertylineGapOverridepropertyload()method (returns a promise)
fontFaceSetinterfacefontFaceSetLoadEventevent
Guides
- CSS font loading API
- : Overview of the CSS Font Loading API, which provide events and interfaces for dynamically loading font resources.
Related concepts
- CSS
@font-faceat-rule - CSS
@font-feature-valuesat-rule CSSFontFaceRuleinterface- Document
fontsproperty (returns theFontFaceSetobject instance) - WorkerGlobalScope
fontsproperty (returns theFontFaceSetobject instance) - JavaScript
Promiseobject
Specifications
SpecificationsStandards references are available on the canonical MDN page.
See also
- CSS fonts module