2986b7bc4a
This adds the `disableguestresize` property for webviews to prevent the webview guest from reacting to size changes of the webview element. This also partially documents the `webContents.setSize` function in order to manually control the webview guest size. These two features can be combined to improve resize performance for e.g. webviews that span the entire window. This greatly reduces the lag described in #6905. |
||
---|---|---|
atom | ||
chromium_src | ||
default_app | ||
docs | ||
docs-translations | ||
lib | ||
script | ||
spec | ||
tools | ||
vendor | ||
.clang-format | ||
.gitignore | ||
.gitmodules | ||
.node-version | ||
.travis.yml | ||
appveyor.yml | ||
CODE_OF_CONDUCT.md | ||
common.gypi | ||
CONTRIBUTING.md | ||
electron.gyp | ||
filenames.gypi | ||
ISSUE_TEMPLATE.md | ||
LICENSE | ||
package.json | ||
README.md | ||
toolchain.gypi |
📝 Available Translations: Korean | Simplified Chinese | Brazilian Portuguese | Traditional Chinese
The Electron framework lets you write cross-platform desktop applications using JavaScript, HTML and CSS. It is based on Node.js and Chromium and is used by the Atom editor and many other apps.
Follow @ElectronJS on Twitter for important announcements.
This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to electron@github.com.
Downloads
To install prebuilt Electron binaries, use
npm
(or yarn
):
# Install as a development dependency
npm install electron --save-dev
# Install the `electron` command globally in your $PATH
npm install electron -g
See the releases page for prebuilt binaries, debug symbols, and more.
Mirrors
Documentation
Guides and the API reference are located in the docs directory. It also contains documents describing how to build and contribute to Electron.
Documentation Translations
- Brazilian Portuguese
- Korean
- Japanese
- Spanish
- Simplified Chinese
- Traditional Chinese
- Turkish
- Ukrainian
- Russian
- French
Quick Start
Clone and run the electron/electron-quick-start
repository to see a minimal Electron app in action.
Community
You can ask questions and interact with the community in the following locations:
electron
category on the Atom forums#atom-shell
channel on FreenodeAtom
channel on Slackelectron-br
(Brazilian Portuguese)electron-kr
(Korean)electron-jp
(Japanese)electron-tr
(Turkish)electron-id
(Indonesia)
Check out awesome-electron for a community maintained list of useful example apps, tools and resources.
License
When using the Electron or other GitHub logos, be sure to follow the GitHub logo guidelines.