This is a desktop app that interactively and with sample code demonstrates core features of the Electron API. It's built with Electron, too, of course. This app works on Windows, macOS and Linux operating systems.
Use this app to see what you can do with Electron and use the source code to learn how to create a basic Electron app.
This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to coc@electronjs.org.
Follow @ElectronJS on Twitter for important announcements. Visit the electron website.
You can download the latest release for your operating system or build it yourself (see below).
You'll need Node.js installed on your computer in order to build this app.
这个是官方原版
$ git clone https://github.com/electron/electron-api-demos
这个是个人汉化版
$ git clone https://github.com/lyy8510a/electron-api-demo
$ cd electron-api-demos
$ npm install
$ npm start
If you don't wish to clone, you can download the source code.
For easier developing you can launch the app in fullscreen with DevTools open:
$ npm run dev