abort
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
io error: No such file or directory (os error 2) (/home/runner/work/yari/yari/mdn/translated-content/files/zh-tw/web/api/htmlmediaelement/index.md)
當資源載入被拒絕時將會觸發**abort
**事件。
一般資訊
屬性
屬性 | 型態 | 描述 |
---|---|---|
target Read only |
EventTarget |
事件的目標對象 (DOM 樹中最頂層的對象)。 |
type Read only |
DOMString |
事件的型態。 |
bubbles Read only |
Boolean |
事件是否向上冒泡。 |
cancelable Read only |
Boolean |
事件是否能夠取消。 |
view Read only |
WindowProxy |
document.defaultView (該文檔(Document)的window ) |
detail Read only |
long (float ) |
0. |
規範
Specification |
---|
HTML Standard # event-media-abort |
HTML Standard # handler-onabort |