Editar

Partilhar via


isDefaultPrevented (Client API reference)

Returns a value indicating whether the save event has been canceled because the preventDefault method was used in this event handler or a previous event handler.

Syntax

executionContext.getEventArgs().isDefaultPrevented();

Return Value

Type: Boolean

Description: true if the save event has been canceled because the preventDefault method was used; false otherwise.

getSaveMode
preventDefault