.cancelable

Term side of the Card
Topic: Event
Unit title: .cancelable
Categories: Property
Explanation side of the Card

Explanation: The browser API property that indicates whether the event's default action can be prevented. If `true`, calling `event.preventDefault()` will stop the default behavior.

Browser compatibility:
  • The chrome browser supports this feature starting from version 1
  • The edge browser supports this feature starting from version 12
  • The firefox browser supports this feature starting from version 1.5
  • The safari browser supports this feature starting from version 1
Availability: