c87c49f4c8
Adds a new "setSheetOffset" API to the `dialog` module, which allows you to change the attachment point for sheets on Mac OS X. I put the API on the dialog module, even though Mac OS X requires that the native window hold and return the desired offset. 1. I was originally hoping to make this an argument on the actual dialog.show* calls, but it seems the parameter set is defined in `libchromiumcontent` and I wasn't sure it would be appropriate to add there? 2. The API could also be on the BrowserWindow (eg `BrowserWindow.setSheetOffset`). I don't have a strong preference, but I think it's more discoverable on the `dialog` module. |
||
---|---|---|
atom | ||
chromium_src | ||
default_app | ||
docs | ||
docs-translations | ||
lib | ||
script | ||
spec | ||
tools | ||
vendor | ||
.gitignore | ||
.gitmodules | ||
.node-version | ||
.travis.yml | ||
appveyor.yml | ||
CODE_OF_CONDUCT.md | ||
common.gypi | ||
CONTRIBUTING-ko.md | ||
CONTRIBUTING.md | ||
electron.gyp | ||
filenames.gypi | ||
ISSUE_TEMPLATE.md | ||
LICENSE | ||
package.json | ||
README-ko.md | ||
README.md | ||
toolchain.gypi |
⚡ Formerly known as Atom Shell ⚡
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 in the Atom editor.
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 atom@github.com.
Downloads
Prebuilt binaries and debug symbols of Electron for Linux, Windows and OS X can be found on the releases page.
You can also use npm
to install prebuilt electron
binaries:
# Install the `electron` command globally in your $PATH
npm install electron-prebuilt -g
# Install as a development dependency
npm install electron-prebuilt --save-dev
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
- 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)
Check out awesome-electron for a community maintained list of useful example apps, tools and resources.