Skip to content
Explore the Electron APIs
HTML JavaScript CSS Shell
Branch: master
Clone or download

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows chore: add WIP sentinel workflow Mar 6, 2020
assets fix: make code element selectable (#424) Aug 2, 2019
main-process fix: require path when using (#402) Nov 6, 2018
renderer-process fix: case error in desktop capturer demo (#447) Mar 9, 2020
script chore: update release script (#411) Jan 8, 2019
sections fix: remove pdf code in 3.0 and update deps Oct 22, 2018
test fix: remove pdf code in 3.0 and update deps Oct 22, 2018
.gitattributes Make sure Windows devs don't commit CRLF Sep 27, 2016
.gitignore git ignore npm-debug.log Apr 11, 2016
.node-version update node version to v8.9.3 Jan 31, 2018
.travis.yml use current and LTS Node.js in CI (#381) Jul 12, 2018
CODE_OF_CONDUCT.md fix: update links for newemails and website (#383) Jul 22, 2018
CONTRIBUTING.md fix: update links for newemails and website (#383) Jul 22, 2018
ISSUE_TEMPLATE.md chore: remove whitespace at end of line Apr 20, 2019
README.md Update README.md (#391) Aug 21, 2018
cli.js feat: add a command-line-interface for launching (#378) Jul 24, 2018
docs.md Fix typo in docs.md Jul 28, 2017
index.html fix: remove pdf code in 3.0 and update deps Oct 22, 2018
license.md make year a range Feb 15, 2018
main.js fix: enable node integration (#416) Feb 28, 2019
package-lock.json chore: add test reporting to mocha Mar 6, 2020
package.json chore: add WIP sentinel workflow Mar 6, 2020

README.md

Electron API Demos icon Electron API Demos

Build Status JavaScript Standard Style

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.

Electron API Demos Screenshots


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.

Using

You can download the latest release for your operating system or build it yourself (see below).

Building

You'll need Node.js installed on your computer in order to build this app.

$ git clone https://github.com/electron/electron-api-demos
$ 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

Extending

Read the docs to learn more about how this app is built or how to add a new demo.

Translations

Note: these versions are maintained by outside contributors and may not always be in sync with this version.

You can’t perform that action at this time.