PerformanceScriptTiming: pauseDuration property
Khả dụng hạn chế
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
Thuộc tính chỉ đọc pauseDuration của giao diện PerformanceScriptTiming trả về một DOMHighResTimeStamp cho biết tổng thời gian, tính bằng mili giây, tập lệnh dành cho các thao tác đồng bộ "tạm dừng" (ví dụ: các lệnh gọi Window.alert() hoặc các XMLHttpRequest đồng bộ).
Giá trị
Một DOMHighResTimeStamp.
Ví dụ
Xem Long animation frame timing để biết các ví dụ liên quan đến Long Animation Frames API.
Thông số kỹ thuật
| Thông số kỹ thuật |
|---|
| Long Animation Frames API> # dom-performancescripttiming-pauseduration> |