We are porting our web app into Electron and (quite unfortunately) need to implement back / forward buttons, as well as other buttons in the top bar. I recognize that desktop apps shouldn’t need back / forward buttons, but in our case, we need them.
I noticed that webcontents has two bool (canGoForward & canGoBack), can someone share some code examples on how we could potentially integrate something like this (or if there is an easier way of doing it?).
Thanks for the help!