electron/docs
Ben Gotow c87c49f4c8 Allow sheets to be attached at a custom offset #4679
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.
2016-04-16 10:16:43 -04:00
..
api Allow sheets to be attached at a custom offset #4679 2016-04-16 10:16:43 -04:00
development wrap cases in backticks 2016-04-07 09:49:55 -07:00
faq Remove the hacks because of transparent background 2016-04-02 21:21:30 +09:00
tutorial Update docs for new org 2016-04-04 12:05:53 -07:00
README.md 📝 Add Headless CI Tutorial 2016-02-25 17:14:43 -08:00
styleguide.md Update docs for new org 2016-04-04 12:05:53 -07:00

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

Tutorials

API References

Custom DOM Elements:

Modules for the Main Process:

Modules for the Renderer Process (Web Page):

Modules for Both Processes:

Development