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. |
||
---|---|---|
.. | ||
api | ||
development | ||
faq | ||
tutorial | ||
README.md | ||
styleguide.md |
Please make sure that you use the documents that match your Electron version. The version number should be a part of the page URL. If it's not, you are probably using the documentation of a development branch which may contain API changes that are not compatible with your Electron version. If that's the case, you can switch to a different version of the documentation at the available versions list on atom.io, or if you're using the GitHub interface, open the "Switch branches/tags" dropdown and select the tag that matches your version.
FAQ
There are questions that are asked quite often, check this out before creating an issue:
Guides
- Supported Platforms
- Application Distribution
- Mac App Store Submission Guide
- Application Packaging
- Using Native Node Modules
- Debugging Main Process
- Using Selenium and WebDriver
- DevTools Extension
- Using Pepper Flash Plugin
- Using Widevine CDM Plugin
- Testing on Headless CI Systems (Travis, Jenkins)
Tutorials
API References
Custom DOM Elements:
Modules for the Main Process:
- app
- autoUpdater
- BrowserWindow
- contentTracing
- dialog
- globalShortcut
- ipcMain
- Menu
- MenuItem
- powerMonitor
- powerSaveBlocker
- protocol
- session
- webContents
- Tray