Skip to content

ElectronApp.addRecentDocument method

ElectronApp › addRecentDocument

Unofficial

Adds path to the recent documents list. macOS and Windows only.

Signature:

addRecentDocument(path: string): void

Parameters:

ParameterTypeDescription
pathstringThe path to add.

Returns: void