event.isDefaultPrevented

From GTA Connected
(Redirected from Event.isDefaultPrevented)
Jump to navigation Jump to search

Method Server and Client All Games Online and Offline

Server 1.0.0, Client 1.0.0

bool event.isDefaultPrevented(void)

Description

The event.isDefaultPrevented method is used to check if the default action for the event trigger occurrence has been prevented by resources or plugins.

Parameters

Type Description
void This method doesn't take any parameters.

Returns

Success Returns

Type Description
bool True if the default action has been prevented, false otherwise.

Failure Returns

Type Value
bool false

Types

This method can only be used on the Event type.

Notes

There aren't any notes for this method.

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
unbindEventHandler

event.isDefaultPrevented
event.preventDefault


Client Related

addEvent
addEventHandler
bindEventHandler
removeEventHandler
triggerEvent
unbindEventHandler

event.isDefaultPrevented
event.preventDefault