Skip to main content

SavedEventArgs Class

Contains data for the Saved event.

Declaration

export class SavedEventArgs extends EventArgs

Remarks

The Saved event occurs after a file has been saved. The event handler receives an argument of the SavedEventArgs type. The argument’s properties provide information specific to this event.

Inheritance

EventArgs
SavedEventArgs

Properties

reason Property

Gets the reason why the document saving process starts.

Declaration

reason: string

Property Value

Type Description
string

A value that identifies the reason.

Remarks

The reason property returns the value of the reason parameter specified in the saveDocument method.

success Property

Indicates whether the document saving request has succeeded.

Declaration

success: boolean

Property Value

Type Description
boolean

true if a server returns the status code 200 (The request has succeeded); otherwise, false.