brrd/electron-tabs

Add custom buttons to tabs

greatpixels opened this issue · 1 comments

The ability to refresh the page would be great.
It would be nice if the current page could be refreshed by adding a refresh icon to the left of the tab title or next to the close icon.
I tried to do it myself but couldn't. Could you please show me where to start?
Thank you.

brrd commented

Currently there is no API in electron-tabs to add custom buttons into a tab. I will change this issue into a feature request.

You can still reload the page using the webview API:

const webview = tab.webview;
tab.webview.reload();