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.
Related articles
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for