stopImmediatePropagation()
方法在
事件
interface prevents other listeners of the same event from being called.
If several listeners are attached to the same element for the same event type, they are called in the order in which they were added. If
stopImmediatePropagation()
is invoked during one such call, no remaining listeners will be called.
event.stopImmediatePropagation();
| 规范 | 状态 | 注释 |
|---|---|---|
|
DOM
The definition of 'Event.stopImmediatePropagation()' in that specification. |
实时标准 |
| 桌面 | 移动 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
stopImmediatePropagation
|
Chrome 6 | Edge 12 | Firefox 10 | IE 9 | Opera 15 | Safari 5 | WebView Android ≤37 | Chrome Android 18 | Firefox Android 10 | Opera Android 14 | Safari iOS 5 | Samsung Internet Android 1.0 |
完整支持
事件
composedPath
initEvent
msConvertURL()
preventDefault
stopImmediatePropagation
stopPropagation
AbortController
AbortSignal
AbstractRange
Attr
ByteString
CDATASection
CSSPrimitiveValue
CSSValue
CSSValueList
CharacterData
ChildNode
注释
CustomEvent
DOMConfiguration
DOMError
DOMErrorHandler
DOMException
DOMImplementation
DOMImplementationList
DOMImplementationRegistry
DOMImplementationSource
DOMLocator
DOMObject
DOMParser
DOMPoint
DOMPointInit
DOMPointReadOnly
DOMRect
DOMString
DOMTimeStamp
DOMTokenList
DOMUserData
Document
DocumentFragment
DocumentType
元素
ElementTraversal
Entity
EntityReference
EventTarget
HTMLCollection
MutationObserver
节点
NodeFilter
NodeIterator
NodeList
NonDocumentTypeChildNode
ProcessingInstruction
PromiseResolver
范围
StaticRange
文本
TextDecoder
TextEncoder
TimeRanges
TreeWalker
TypeInfo
USVString
UserDataHandler
XMLDocument