IConfirmOnLosingChangesSettings Interface

Declares settings of a confirmation message that is displayed when unsaved data changes may be lost.

Declaration

export interface IConfirmOnLosingChangesSettings

Properties

enabled Property

Specifies whether a confirmation alert should be displayed when any unsaved changes will be lost.

Declaration

enabled?: boolean

Property Value

Type Description
boolean

true, to display the confirmation alert; otherwise, false.

message Property

Sets the text of the confirmation message that is displayed when any unsaved data changes will be lost.

Declaration

message?: string

Property Value

Type Description
string

The confirmation message text.