注意:已經轉移到https://shmilylin.github.io/Electron-Document-CN 。簡書上仍然會更新,不過更新較慢,并且因為簡書不支持內鏈,所以所有內鏈無效請找簡書官方解決。目前翻譯完成的部分正在校訂,如有疏漏或不妥的地方歡迎指正。
寫在前面:
Electron的官方文檔我只是順手翻譯給自己看,只是作為參考,并不完全準確,部分翻譯結果中有自己的理解和語言潤色成分,介意的勿看。
指南
關于Electron
1.術語表
2.支持的平臺
3.安全
4.Electron的版本管理
5.應用發布
6.Mac App Store提交指南
7.Windows Store指南
8.應用打包
9.使用Native Node Modules
10.調試主進程
11.使用Selenium和WebDriver
12.開發工具擴展
13.使用Pepper Flash插件
14.使用Widevine CDM插件
15.在Headless CI Systems中測試(Travis, Jenkins)
16.離屏渲染
教程
1.快速開始
2.桌面環境整合
3.聯網/脫機事件監聽
4.REPL
接口參考
1.Synopsis
2.process對象
3.Supported Chrome Command Line Switches
4.環境變量
自定義DOM元素
1.File
Object
2.<webview>
Tag
3.window.open
Function
主進程模塊
1.app
2.autoUpdater
3.BrowserWindow
4.contentTracing
5.dialog
6.globalShortcut
7.ipcMain
8.Menu
9.MenuItem
10.net
11.powerMonitor
12.powerSaveBlocker
13.protocol
14.session
15.systemPreferences
16.Tray
17.webContents
渲染進程模塊(網頁)
1.desktopCapturer
2.ipcRenderer
3.remote
4.webFrame
共享模塊
1.clipboard
2.crashReporter
3.nativeImage
4.screen
5.shell
進階
1.Coding Style
2.Using clang-format on C++ Code
3.Source Code Directory Structure
4.Technical Differences to NW.js (formerly node-webkit)
5.Build System Overview
6.Build Instructions (macOS)
7.Build Instructions (Windows)
8.Build Instructions (Linux)
9.Debug Instructions (macOS)
10.Debug Instructions (Windows)
11.Setting Up Symbol Server in debugger
12.Documentation Styleguide
FAQ
Electron FAQ