HTML DOM ProgressEvent
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 |