defaultPrevented

open external val defaultPrevented: Boolean(source)

The defaultPrevented read-only property of the Event interface returns a boolean value indicating whether or not the call to Event.preventDefault() canceled the event.

MDN Reference