HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

defaultPrevented

Description

The defaultPrevented of Event for JS returns true if preventDefault() was invoked successfully to indicate cancelation; otherwise false.

Syntax

event.defaultPrevented

Examples

1 · dispatch · false

2 · dispatch · true

3 · button · false

4 · button · false

5 · button · true

6 · input · false

7 · input · false

8 · input · true