Comments (3)
Can someone please guide me , how can I achieve this .
from electron-tabs.
I'm sorry, we don't offer support about Electron here. You should probably check the Electron community instead: https://www.electronjs.org/community
Tabs are basically a wrapper around Electron webviews, so I advise you to refer to the related documentation (especially the part about the reload method).
The menu question is related to the communication between processes, so it is definitely out of the scope of our project.
from electron-tabs.
You could easily add a button trigger like Ctrl
+ R
that reloads the active WebView.
A script to reload the active webview would look like this as an example:
document.querySelector("body > tab-group").shadowRoot.querySelector("div > div > webview.visible").reload()
https://sudovanilla.com/code/Korbs/Penpot-Desktop/src/branch/main/src/process/extra/Menu.js#L77-L81
from electron-tabs.
Related Issues (20)
- height of tab-group never be changed. HOT 1
- how do Drag up and down to create a new window?like google Browser HOT 1
- Easier way to set the view height
- Chrome Style Tabs HOT 1
- Allow user to rename tabs HOT 2
- How to remove the system default title bar, and the effect is similar to Chrome? HOT 2
- [feature]Could drag tab into another open window? HOT 2
- electron-tabs will not load local (file://) URL no matter what content it is HOT 13
- How can I use it in vue3? HOT 1
- locate elements in webview HOT 1
- setWindowOpenHandler not firing on the main process HOT 1
- about addTab title HOT 1
- How to open link inside the tab content? HOT 2
- Using BrowserView instead of webView HOT 1
- Not loading js file HOT 3
- getNextTab / getPreviousTab HOT 1
- How to open the target blank hyperlinks inside the tab content in a new tab HOT 2
- Is it possible to disable background throttling on tabs? HOT 1
- How to set the css style of the background of the tab bar? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from electron-tabs.