Event Object Methods Flashcards
1
Q
preventDefault()
A
To cancel the event if it is cancelable, meaning that any default action normally taken by the implementation as a result of the event will not occur
2
Q
stopPropagation()
A
To prevent further propagation of an event during event flow