Document.timeline

Baseline 2022

Newly available

Since September 2022, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.

Document 인터페이스의 timeline 읽기 전용 속성은 현재 문서의 기본 타임라인을 나타냅니다. 이 타임라인은 DocumentTimeline (en-US)의 특수 인스턴스입니다.

이 타임라인은 각각의 document 마다 고유하며 Document.open() 호출 또한 포함하는 문서의 생명주기 동안 유지됩니다.

이 타임라인은 Performance.timeOrigin (en-US) 이후 시간을 밀리초 단위로 연산합니다. 원점 이전의 시간은 타임라인에서 고려하지 않으며 이 경우 currentTimenull입니다.

참고: 문서 타임라인은 비활성 문서 (DocumentWindow, <iframe> (en-US), 혹은 <frame> (en-US) 과 연결되지 않은 문서)일 경우 비활성화 됩니다.

명세서

Specification
Web Animations
# dom-document-timeline

브라우저 호환성

BCD tables only load in the browser

같이보기