cancellableEvent.isDefaultPrevented

Revision as of 20:36, 19 November 2022 by Mex (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Method Server and Client icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline

Available since Server 1.0.0, Client 1.0.0

bool cancellableEvent.isDefaultPrevented(void)

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

Parameters

void This method doesn't take any parameters.

Return

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

Types

Shared CancellableEvent

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
        triggerNetworkEvent
        unbindEventHandler


Client Related

        addEvent
        addEventHandler
        bindEventHandler
        removeEventHandler
        triggerEvent
        triggerNetworkEvent
        unbindEventHandler