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

cancelable

Description

The cancelable of Event for JS 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 · false

2 · true

3 · dispatch · false

4 · dispatch · true

5 · button · false

6 · button · true