HTML DOM 진행 이벤트
ProgressEvent 개체
외부 리소스를 로드할 때 발생하는 이벤트는 ProgressEvent 개체에 속합니다.
ProgressEvent 속성 및 메서드
Property/Method | Description |
---|---|
lengthComputable | Returns whether the length of the progress can be computable or not |
loaded | Returns how much work has been loaded |
total | Returns the total amount of work that will be loaded |
상속된 속성 및 메서드
ProgressEvent는 다음에서 모든 속성과 메서드를 상속합니다.
이벤트 유형
다음 이벤트 유형은 ProgressEvent 개체에 속합니다.
Event | Description |
---|---|
onerror | The event occurs when an error occurs while loading an external file |
onloadstart | The event occurs when the browser starts looking for the specified media |