BuildDocsReferenceGuidesBlogDiscordGlobalsEventcancelableBuildDocsReferenceGuidesBlogDiscordGlobalsEventcancelableEvent.cancelablecancelableMDN ReferenceReferenceDocsGuidesDiscordMerch StoreGitHubBlogRuntimePackage managerTest runnerBundlerPackage runnerBun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseWe're hiring →
Event.cancelable property | globals module | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- Returns true or false depending on how event was initialized. Its return value does not always carry meaning, but true can indicate that part of the operation during which event was dispatched, can be canceled by invoking the preventDefault() method.
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/cancelable)