electron/docs
Jeremy Rose dba4df9326
feat: add more info in setWindowOpenHandler details (#28518)
* fix: invoke the window open handler for _blank links

* feat: add disposition to setWindowOpenHandler details

* fix: pass postData to new-window event

* postData can be heterogeneous

* fix type of postBody

* fix type of UploadFile and UploadRawData to be discriminated unions

* exclude the empty string from additionalFeatures

* add a test

* add postBody and referrer to setWindowOpenHandler args

* appease typescript

* Update api-browser-window-spec.ts

* update snapshots
2021-04-13 15:35:27 -04:00
..
api feat: add more info in setWindowOpenHandler details (#28518) 2021-04-13 15:35:27 -04:00
development docs: remove no longer relevant link (#28196) 2021-03-16 11:41:49 -04:00
fiddles docs: update Quick Start Guide for Electron 12 (#28223) 2021-03-16 19:45:38 -04:00
images docs: revised dark mode feature page (#26187) 2020-11-02 16:18:29 +09:00
tutorial Defined the name of the preload script (#28597) 2021-04-11 14:01:36 -07:00
breaking-changes.md docs: note that new-window event is deprecated (#28549) 2021-04-08 10:52:14 -04:00
experimental.md docs: document what experimental means explicitly (#22893) 2020-04-02 09:32:18 -07:00
faq.md docs: tidy up links (#26292) 2020-11-02 18:58:14 +09:00
glossary.md docs: tidy up links (#26292) 2020-11-02 18:58:14 +09:00
README.md doc: desktopCapturer menu position (#28315) 2021-03-24 10:10:12 +09:00
styleguide.md docs: use asterisks for unordered lists (#26552) 2020-11-23 12:15:27 -05:00

Official Guides

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. To view older versions of the documentation, you can browse by tag on GitHub by opening the "Switch branches/tags" dropdown and selecting the tag that matches your version.

FAQ

There are questions that are asked quite often. Check this out before creating an issue:

Guides and Tutorials

Quickstart

Learning the basics

Advanced steps

Detailed Tutorials

These individual tutorials expand on topics discussed in the guide above.


API References

Custom DOM Elements:

Modules for the Main Process:

Modules for the Renderer Process (Web Page):

Modules for Both Processes:

Development

See development/README.md