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:

Parameter Type Description
path string The path to add.

Returns: void