keyevent.isDefaultPrevented

From GTA Connected
(Redirected from KeyEvent.isDefaultPrevented)
Jump to: navigation, search

Method Server and Client All Games Online and Offline

Server 1.0.0, Client 1.0.0

bool keyevent.isDefaultPrevented(void)

Description

The keyevent.isDefaultPrevented method is used to fetch the status of the default action being prevented for the event.

Parameters

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

Returns

Success Returns

Type Description
bool Whether the default action has been prevented.

Failure Returns

Type Value
bool false

Types

This method can only be used on the KeyEvent 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