event.preventDefault
Method
Server and Client
Online and Offline
Available since Server 1.0.0, Client 1.0.0
void event.preventDefault(void)
The event.preventDefault method is used to prevent the default action for the event trigger occurrence.
Parameters
void | This method doesn't take any parameters. |
Return
void | This method doesn't return a value. |
Types
Shared
CancellableEventShared
EventShared
KeyEvent
Notes
- See also: event.isDefaultPrevented.
Examples
There aren't any examples for this method.
Compatibility
There isn't any compatibility information for this method.
Related
Server Related
addEvent
addEventHandler
bindEventHandler
removeEventHandler
triggerEvent
triggerNetworkEvent
unbindEventHandler
Client Related
addEvent
addEventHandler
bindEventHandler
removeEventHandler
triggerEvent
triggerNetworkEvent
unbindEventHandler