What exactly does kiosk: true
in the BrowserWindow
config of a new ElectronJS window do?
The documentation just states that the parameter indicates, that the window is in 'kiosk' mode. I was unable to find information on what this means.
What exactly does kiosk: true
in the BrowserWindow
config of a new ElectronJS window do?
The documentation just states that the parameter indicates, that the window is in 'kiosk' mode. I was unable to find information on what this means.
Basically, Kiosk mode is a Windows operating system (OS) feature that only allows one application to run. Kiosk mode is a common way to lock down a Windows device when that device is used for a specific task or used in a public setting.
So in electron kiosk mode, we'd have the ability to lock down our application to a point that users are restricted to the actions that we want them to perform. Also, the browser would merely act as our canvas with exactly defined capabilities and doesn't get into our way. And this is why you want to use Electron!
It's true that this feature is not very well documented. There is a open bug about it : Kiosk mode is poorly documented
This seems that the kiosk flags brings some like :
According to this article, but I was unable to replicate all behaviours.
I think that under the hood it's may be linked to the kiosk
command line switch in chromium : --kiosk.