Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

error

这篇翻译不完整。请帮忙从英语翻译这篇文章

当一个资源加载失败时会触发error事件。

常规信息

Specification
DOM L3
Interface
UIEvent if generated from a user interface, Event otherwise.
Bubbles
No
Cancelable
No
Target
Element
Default Action
None

属性

Property Type Description
target 只读 EventTarget The event target (the topmost target in the DOM tree).
type 只读 DOMString The type of event.
bubbles 只读 boolean Does the event normally bubble?
cancelable 只读 boolean Is it possible to cancel the event?
view 只读 WindowProxy document.defaultView (window of the document)
detail 只读 long (float) 0.

文档标签和贡献者

 此页面的贡献者: manjun.han
 最后编辑者: manjun.han,