Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pengx17/electron-multi-tabs-demo
https://github.com/pengx17/electron-multi-tabs-demo
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/pengx17/electron-multi-tabs-demo
- Owner: pengx17
- Created: 2023-05-01T08:48:20.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-15T15:53:03.000Z (about 1 year ago)
- Last Synced: 2024-10-12T19:13:44.898Z (2 months ago)
- Language: TypeScript
- Size: 3.42 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# electron-multi-tabs-demo
use BrowserView to serve two different types of renderer views (shell/app)
- shell will be used for rendering tabs
- app is a normal app that should render main biz-logic![image](https://user-images.githubusercontent.com/584378/235633613-6d05c366-681b-4e2f-bab7-eb777dd6becd.png)
Some other features:
- Electron APIs definitions exposed via preload are generated from handlers in main. You can jump to the real definition easily.
- Experiment UtilityProcess to offload heavy computation off main process
- Using https://github.com/Jack-Works/async-call-rpc#builtin-channels to sync events between helper process & renderer