एचटीएमएल डोम प्रोग्रेसइवेंट
प्रोग्रेसइवेंट ऑब्जेक्ट
बाहरी संसाधनों को लोड करते समय होने वाली घटनाएं प्रोग्रेसइवेंट ऑब्जेक्ट से संबंधित होती हैं।
प्रोग्रेसइवेंट गुण और तरीके
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 |
विरासत में मिले गुण और तरीके
प्रोग्रेसइवेंट को सभी गुणों और विधियों से विरासत में मिला है:
घटना के प्रकार
ये ईवेंट प्रकार प्रोग्रेसइवेंट ऑब्जेक्ट से संबंधित हैं:
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 |