cancelable

cancelable 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.

Syntax

event.cancelable

Examples

1

2

3

4

Internal

bubbles

composed

composedPath

currentTarget

defaultPrevented

Event

eventPhase

isTrusted

preventDefault

stopImmediatePropagation

stopPropagation

target

timeStamp

type

External

Web Hypertext Application Technology Working Group (WHATWG)

Home Menu