electron-tabs icon indicating copy to clipboard operation
electron-tabs copied to clipboard

Add custom buttons to tabs

Open greatpixels opened this issue 3 years ago • 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.

greatpixels avatar Aug 09 '22 04:08 greatpixels

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();

brrd avatar Aug 15 '22 08:08 brrd