The readyState
property returns the (loading) status of the current document.
The readyState
property is read-only.
document.readyState
Type | Description |
String | The status of the current document: uninitialized - Has not started loading loading - Is loading loaded - Has been loaded interactive - Has loaded enough to interact with complete - Fully loaded |
document.readyState
is a DOM Level 3 (2004) feature.
It is fully supported in all modern browsers:
Chrome | Edge | Firefox | Safari | Opera | IE |
Yes | Yes | Yes | Yes | Yes | 11 |
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!