preventDefault abstract method

void preventDefault()

Cancels the event's default action.

Implementation

void preventDefault();