Skip to content

ElectronBrowserWindow.getRepresentedFilename method

ElectronBrowserWindow › getRepresentedFilename

Unofficial

Returns the pathname of the file the window represents (macOS only).

Signature:

getRepresentedFilename(): string

Returns: stringThe represented filename.