docs: Added loadFile instead of loadURL in BrowserWindow documentation example (#28829)
docs: Added loadFile instead of loadURL in BrowserWindow documentation example (#28829)

* Added loadFile instead of loadURL in the example

For loading a local file the loadFile API is a better way to load any html file in the Renderer process.

Have changed it in the example.

* Changed backticks to single quote to correct for linting error

In order to correct the linting error reported by the bot, I have changed backticks to single quote in the example.
gerhardberger/electron,gerhardberger/electron,bpasero/electron,electron/electron,gerhardberger/electron,electron/electron,bpasero/electron,gerhardberger/electron,bpasero/electron,electron/electron,bpasero/electron,gerhardberger/electron,gerhardberger/electron,bpasero/electron,electron/electron,electron/electron,electron/electron,bpasero/electron,electron/electron,gerhardberger/electron,bpasero/electron