FontFace:status 属性
Baseline
Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2020年1月.
备注: 此特性在 Web Worker 中可用。
FontFace 接口的 status 只读属性返回指示字体的状态的枚举值,可以是 "unloaded"、"loading"、"loaded" 或 "error" 之一。
值
"unloaded"、"loading"、"loaded" 或 "error" 之一。
规范
| Specification |
|---|
| CSS Font Loading Module Level 3> # dom-fontface-status> |