Birunthan Mohanathas
c8dc2d3730
feat: Add will-resize event to TopLevelWindow ( #13649 )
...
The new `will-resize` event can be used to prevent the resize from
happening before the native window is actually resized. This is in
contrast to the existing the `resize` event, which is sent *after* the
native window has already been resized. For apps with e.g. custom window
snapping logic, the `resize` event is not sufficient because it will
result in flickering between the dragged size and the snapped size.
`will-resize` is only emitted on macOS and Windows.
2018-07-27 18:53:01 +09:00
Birunthan Mohanathas
f788143c1a
pr: Update docs
2018-07-25 10:12:27 -07:00
Birunthan Mohanathas
a42ca9eecc
feat: Add BrowserWindow.setWindowButtonVisibility()
...
Fixes #12701 and supersedes #13131 .
Ideally we would have added `setTitleBarStyle()`, but that is a
significantly more involved change. For example, consider the case where
we switch from `hidden` to `normal`. We would not only have to show the
traffic light buttons, we would also have to switch the window from a
frameless to a framed window and deal with various other window state.
Lets instead implement a simple solution for #12701 .
2018-07-25 10:12:27 -07:00
Shelley Vohr
6045d1218a
refactor: remove experimentalCanvasFeatures property ( #13684 )
2018-07-16 13:32:42 -07:00
Danny Brown
dd6c776a19
docs: add note about how to remove a previously set aspect ratio ( #13293 )
2018-06-19 10:24:42 -05:00
Samuel Attard
c58fa02e58
Mark browser window affinity as experimental
2018-06-20 00:33:24 +10:00
deepak1556
c4b8e106c0
Create network_converter for services/network/* types
2018-06-19 11:49:42 +10:00
Shelley Vohr
5f5322c64e
rename blinkFeatures to enableBlinkFeatures
2018-05-23 14:01:34 -07:00
Charles Kerr
cf6d36cb72
Consistent docs for LoadURLOptions.httpReferrer
2018-05-11 12:18:38 -05:00
Charles Kerr
4d078fdb03
Remove more words ( #12852 )
...
* remove 'basically' from docs
* remove 'simply' from docs
* remove most uses of 'just' from docs
2018-05-08 00:16:09 -05:00
Shelley Vohr
52e3d5e4f0
remove some beginner-unfriendly terms from docs
2018-05-07 08:46:14 -07:00
Jeremy Apthorp
1a64b9f0c2
Disable navigating on drag/drop ( #12655 )
...
* Disable navigating on drag/drop
* Add a WebPreferences option to re-enable navigate on drag/drop
2018-04-26 10:23:27 -05:00
Zhuo Zhang
de1eae288c
doc: rename 'blink-feature-string' as 'runtime-enabled-features'
...
make it more meaningful :)
2018-04-14 08:49:30 +08:00
Zhuo Zhang
dd45473356
fix broken url for 'blink-feature-string'
2018-04-11 15:02:54 +08:00
Andreas
6b5e09478c
Mouse forward on macOS ( #12281 )
...
* Accept mouse events according to the forward parameter on macOS.
* Update BrowserWindow docs: mouse forward is available on macOS
2018-04-09 19:35:05 +09:00
Jeremy Apthorp
f0d08f4da1
Propagate referrer to new windows ( #12397 )
...
* Propagate referrer to new windows
Fixes #9205
* Rearrange -new-window event arguments for backwards-compatibility
* Plumb referrer policy through guest-window-manager
* Document the Referrer structure and its uses
* Add tests for referrer in new windows
* Docs nits
2018-04-05 18:13:24 -05:00
MadfishDT
200388ff96
add moveTop API to move window z-oder to top for win32, mac ( #12485 )
...
* add moveTop API to move window z-oder to top for win32, mac
* BrowserWindow::MoveTop SetMethod bug fix
2018-04-03 08:04:32 -05:00
Sean
5f7c6ccfe4
update doc for setProgressBar ( #12428 )
...
* update doc for setProgressBar
The linter was unable to get `paused` as a possible value for `mode`
* update doc for setProgressBar
Addressing PR feedback
2018-03-28 10:29:31 +11:00
Charles Kerr
cfd91a3b56
Fix documentation tyop ( #12422 )
2018-03-23 18:35:14 -04:00
Samuel Attard
8c138e74be
More vibrancy fixes ( #12157 )
...
* Only set title bar to transparent when vibrant with a custom titlebar
* Correctly set the transparent state of the GpuSwitcher so vibrancy works on reload
* Document case where using frame: false without custom titleBarStyle and vibrant
2018-03-07 11:40:36 -05:00
br0nstein
f170914def
Fix getFocusedWindow return type ( #12149 )
2018-03-07 10:23:02 +09:00
Cheng Zhao
d8f16f4116
docs: Default message is not localized
2018-03-06 11:24:42 +09:00
Cheng Zhao
26a071ea00
docs: Defaults of safeDialogs
2018-03-06 11:21:40 +09:00
Samuel Attard
795447f61a
Implement dialog (alert/confirm) blocking as a user switch after the first dialog
...
* This is to enable more browser-like behavior so that users who run third-party code
will not be DOS'ed with alerts and confirms. This is already handled like this
in most major browsers so this will greatly help these developers
2018-03-06 11:19:15 +09:00
shelley vohr
846be03f1d
remove support for hidden-inset ( #11975 )
2018-02-20 11:09:54 -06:00
Cheng Zhao
2b623f5d86
docs: More explaination to affinity option
2018-02-13 15:33:11 +09:00
Emmanuel Kimmerlin
9c1b47361f
Add an "affinity" option to webPreferences
2018-02-13 15:18:55 +09:00
Samuel Attard
b3234f634b
Add ability to set arbitrary arguments in a renderer process ( #11850 )
2018-02-12 11:54:31 -06:00
Shelley Vohr
80aa399f8a
updates to mac enable method
2018-02-06 09:16:22 -05:00
Shelley Vohr
131aa38768
typo fix
2018-02-06 08:30:33 -05:00
Shelley Vohr
faf08b2b77
add documentation
2018-02-06 08:28:41 -05:00
Samuel Attard
32a1395bcf
Merge pull request #11565 from electron/add-load-file-helper
...
Add window.loadFile and webContents.loadFile helper methods
2018-01-23 09:08:23 +11:00
Tiago Danin
74769da9a7
[Docs] Fix URLs and Paths ( #11584 )
...
* Fix URLs and Paths in docs/
* Avoiding link break to /docs/development/updgrading-chrome.md
* Fix URLs and Paths in docs/ #2
* Removed double spaces in docs
2018-01-12 10:24:48 -05:00
Samuel Attard
1553b54779
Add window.loadFile and webContents.loadFile helper methods
2018-01-04 11:38:56 +13:00
HayateLaTech
f2e32791b1
Update browser-window.md
2017-12-22 15:13:12 +01:00
Toinane
59607c9a17
feat(docs): fix 'optional' wording
2017-11-28 18:15:15 +01:00
Felix Rieseberg
8f20ce6dcf
📝 Docs!
2017-11-22 14:38:22 -08:00
Samuel Attard
bf42426acc
Merge pull request #11048 from Toinane/fix-doc
...
fix(documentation): link in browserwindows.md
2017-11-08 01:14:36 +11:00
Toinane
247af376fe
fix(documentation): link in browserwindows.md
2017-11-07 14:17:00 +01:00
Felix Rieseberg
067662b304
📝 Oh look, another typo
2017-11-03 13:02:12 -07:00
Felix Rieseberg
43bb74cb13
📝 One-character typo change
2017-11-03 10:54:17 -07:00
Felix Rieseberg
7bad679a69
📝 Correct types
2017-10-27 12:14:09 -07:00
Felix Rieseberg
29a85bc928
📝 Document it
2017-10-27 11:44:48 -07:00
Cheng Zhao
8c5bb5969c
Merge pull request #10667 from dittos/window-opacity
...
Add window opacity support
2017-10-04 15:03:45 +09:00
Cheng Zhao
09b93aa164
No need of example for such simple API
2017-10-03 20:12:05 +09:00
Daniel Ma
1bb042a661
feat(NativeWindowMac): addTabbedWindow
...
Add support for the [`NSWindow addTabbedWindow`][nsw] method on MacOSX
This plays nicely with the changes from #9052 and #9725
Usage samples available in [this commit][c] in my fork of
`electron-quick-start`
[nsw]: https://developer.apple.com/documentation/appkit/nswindow/1855947-addtabbedwindow
[c]: 79f06591df
2017-10-03 20:11:16 +09:00
Taeho Kim
7570ec9d39
Add BrowserWindow.getOpacity for consistency
2017-10-03 00:08:10 +09:00
Taeho Kim
7c1c8f323c
Update browser-window.md
2017-10-01 17:36:22 +09:00
Vadim Macagon
3ad1cccb1d
[ci skip] Fix link to Chromium Runtime Features JSON file ( #10639 )
2017-09-29 14:17:00 -04:00
Cheng Zhao
a19a229a59
Merge pull request #10254 from zachflower/feature/simple-fullscreen-mode
...
Feature/simple fullscreen mode
2017-09-14 09:39:50 +09:00
Zachary Flower
f256967414
📝 make clear what simple fullscreen mode is
2017-09-11 23:09:45 -06:00
Cheng Zhao
10ab870237
Merge pull request #10321 from kaylanm/macos-native-tab-api
...
🍎 Add macOS native tab methods to window API
2017-09-11 18:49:56 +09:00
Vanessa Yuen
deb7ccbef3
fix lint error
2017-08-25 17:24:50 -04:00
Vanessa Yuen
bb153ee79e
update browser-window.md
...
Add a note about the subtle difference between `window.onbeforeunload = handler` and `window.addEventListener('beforeunload', handler)`.
2017-08-25 17:14:20 -04:00
Michael Kaylan
b4428e7e41
🍎 Add macOS native tab methods to window API
2017-08-21 23:24:30 -04:00
Cheng Zhao
f908678e8e
Merge pull request #10183 from andens/mouse_forward
...
Mouse forward functionality on Windows
2017-08-17 15:54:22 +09:00
Andreas Flöjt
3d33da7696
Make mouse forward option of setIgnoreMouseMessages and update documentation.
2017-08-14 20:21:00 +02:00
Zachary Flower
8a2c35023f
📝 Document simple fullscreen functionality [ci skip]
2017-08-13 00:58:28 -06:00
Zeke Sikelianos
d0130e1b09
Merge pull request #9988 from kant2002/patch-1
...
Allow TypeScript definitions work with strictNullChecks
2017-08-07 20:37:26 -07:00
John Kleinschmidt
ccdff72ee4
Merge pull request #9918 from alexstrat/add-extensions-loading-api
...
Introduce Chrome extensions management APIs independent of Dev Tools Extensions
2017-08-07 20:06:22 -04:00
Andreas Flöjt
12dbcfa2ea
📝 Documentation for setForwardMouseMessages.
2017-08-02 21:50:42 +02:00
Kevin Sawicki
a2554080ea
Mark nativeWindowOpen as experimental
2017-07-17 12:40:59 -07:00
Kevin Sawicki
5581d1d652
Merge pull request #9788 from shubham2892/Add-option-to-show-title-text-in-titlebar-in-fullscreen
...
Add alwaysShowTitleTextInFullscreen flag
2017-07-14 11:58:12 -07:00
Kevin Sawicki
9102c07ec7
always_show_title_text_in_full_screen -> fullscreen_window_title
2017-07-14 11:48:10 -07:00
Andrey Kurdyumov
189be18dd2
Allow TypeScript definitions work with strictNullChecks
...
See https://github.com/electron/electron-typescript-definitions/issues/25
2017-07-12 20:29:32 +06:00
Alexandre Lachèze
f09e448d4d
📝
2017-07-05 17:01:30 +02:00
Cheng Zhao
00d023cd71
Merge pull request #9725 from danielma/dma/native-tab-new-button
...
Add "New Tab" button for Native macOS Tabs
2017-06-26 15:07:10 +09:00
Shubham
25c651c40a
add alwaysShowTitleTextInFullscreen flag
2017-06-17 20:45:29 -04:00
Zeke Sikelianos
56ee50f3a3
use lowercase for optional annotation
2017-06-13 13:50:10 -07:00
Daniel Ma
4fb9f825b1
Add "New Tab" button for Native macOS Tabs
...
Adds responders for `newWindowForTab` to `AtomApplicationDelegate` and
`NativeWindowMac`, so that `BrowserWindow`s with a `tabbingIdentifier`
will get the new tab button, and both `app` and `window` will emit a
`new-tab-for-window` event.
2017-06-11 02:26:26 -07:00
Birunthan Mohanathas
7d2226e05e
Let Chromium manage document.visibilityState
and document.hidden
...
Chromium already includes the necessary plumbing to manage the
visibility properties and `visibilitychange` event so this gets rid of
most of our custom logic for `BrowserWindow` and `BrowserView`.
Note that `webview` remains unchanged and is still affected by the issues
listed below.
User facing changes:
- The `document` visibility properties and `visibilitychange` event are
now also updated/fired in response to occlusion changes on macOS. In
other words, `document.visibilityState` will now be `hidden` on macOS
if the window is occluded by another window.
- Previously, `visibilitychange` was also fired by *both* Electron and
Chromium in some cases (e.g. when hiding the window). Now it is only
fired by Chromium so you no longer get duplicate events.
- The visiblity state of `BrowserWindow`s created with `{ show: false }`
is now initially `visible` until the window is shown and hidden.
- The visibility state of `BrowserWindow`s with `backgroundThrottling`
disabled is now permanently `visible`.
This should also fix #6860 (but not for `webview`).
2017-06-06 15:16:01 -07:00
Kevin Sawicki
41d582f689
Add back hidden-inset as a deprecated option
2017-06-05 14:16:23 -07:00
Kevin Sawicki
7d10bf229d
Switch to titleBarStyle for custom window buttons on hover
2017-06-05 13:30:32 -07:00
Kevin Sawicki
410e5bce60
Document customWindowButtons option
2017-06-05 13:04:17 -07:00
Kevin Sawicki
6a3f2e90db
Tweak webviewTag option description
2017-05-19 10:22:28 -07:00
Kevin Sawicki
1a210ed114
Remote stray ©
2017-05-17 14:00:40 -07:00
Kevin Sawicki
bde13353fb
Rename option to webviewTag and default to nodeIntegration value
2017-05-17 13:12:23 -07:00
Kevin Sawicki
837ea884de
Merge remote-tracking branch 'origin/master' into enable-webview
2017-05-17 12:45:29 -07:00
Birunthan Mohanathas
5cfa697309
Fix postData type definition in docs
2017-05-14 13:43:38 +03:00
Hari Juturu
277c3155a6
use will-create-webview event
2017-05-09 10:12:44 -07:00
Hari Krishna Reddy Juturu
3321f7d39c
Changing command line option name
2017-05-08 17:27:31 -07:00
Hari Krishna Reddy Juturu
94d054cf11
Add option to override webview security
2017-05-06 22:10:42 -07:00
Ryohei Ikegami
1d73e84a29
Merge branch 'master' into native-window-open
2017-04-27 12:03:55 +09:00
Hari Krishna Reddy Juturu
9e70372c1f
change endsession event name to session-end
2017-04-24 10:16:11 -07:00
Hari Krishna Reddy Juturu
3c3e14b820
End session event on browser window
2017-04-21 14:22:11 -07:00
Ryohei Ikegami
8dff29185b
Merge branch 'master' into native-window-open
2017-04-18 21:59:22 +09:00
Yuya Ochiai
75184046f6
Add events to manage sheets of macOS BrowserWindow
2017-04-15 16:26:45 +09:00
Birunthan Mohanathas
8b9f7e5b00
Implement initial, experimental BrowserView API
...
Right now, `<webview>` is the only way to embed additional content in a
`BrowserWindow`. Unfortunately `<webview>` suffers from a [number of
problems](https://github.com/electron/electron/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aopen%20label%3Awebview%20 ).
To make matters worse, many of these are upstream Chromium bugs instead
of Electron-specific bugs.
For us at [Figma](https://www.figma.com ), the main issue is very slow
performance.
Despite the upstream improvements to `<webview>` through the OOPIF work, it is
probable that there will continue to be `<webview>`-specific bugs in the
future.
Therefore, this introduces a `<webview>` alternative to called `BrowserView`,
which...
- is a thin wrapper around `api::WebContents` (so bugs in `BrowserView` will
likely also be bugs in `BrowserWindow` web contents)
- is instantiated in the main process like `BrowserWindow` (and unlike
`<webview>`, which lives in the DOM of a `BrowserWindow` web contents)
- needs to be added to a `BrowserWindow` to display something on the screen
This implements the most basic API. The API is expected to evolve and change in
the near future and has consequently been marked as experimental. Please do not
use this API in production unless you are prepared to deal with breaking
changes.
In the future, we will want to change the API to support multiple
`BrowserView`s per window. We will also want to consider z-ordering
auto-resizing, and possibly even nested views.
2017-04-13 01:27:27 +03:00
Ryohei Ikegami
61fa8693d2
Merge branch 'master' into native-window-open
2017-04-04 20:54:37 +09:00
Milan Burda
568454525d
Use point / size / rectangle structures consistently in API docs
2017-04-04 08:31:09 +02:00
Kevin Sawicki
6f27d466a5
Move tabbingIdentifier out of webPreferences list
2017-03-30 13:49:00 -07:00
Tony Ganch
a7565f0d57
Enable native tabs on macOS
2017-03-29 13:51:39 +02:00
Kevin Sawicki
870dcb9071
Remove old sandbox option in list and mark as experimental
2017-03-27 10:14:47 -07:00
Thiago de Arruda
437f1192d9
Add initial documentation for sandbox
option.
2017-03-23 21:42:25 -03:00
Ryohei Ikegami
6f9dbd4e04
Merge branch 'master' into native-window-open
2017-03-24 00:11:43 +09:00
Cheng Zhao
ab83aa0bfd
docs: Multithreading
2017-03-20 12:52:46 -07:00
Kevin Sawicki
6ded27f3a9
Merge pull request #8878 from TanninOne/patch-1
...
Update browser-window.md
2017-03-20 10:14:23 -07:00
Kevin Sawicki
caae03f954
Use rendered language in both ready-to-show docs
2017-03-20 10:13:45 -07:00
Ryohei Ikegami
88f062958f
Fix option doc
2017-03-19 20:21:03 +09:00
Ryohei Ikegami
afdf52b053
Add docs for useNativeWindowOpen
2017-03-19 18:37:38 +09:00
Kevin Sawicki
6f047fd4b7
Mark touch bar apis with _Experimental_
2017-03-17 10:56:41 -07:00
TanninOne
410e80682a
Update browser-window.md
...
Notes that maximize will also show the window and that ready-to-show won't fire if the window is already being displayed. (See issue #8861 )
2017-03-09 15:41:31 +01:00
Kevin Sawicki
bb8d42f1e1
Mark TouchBar as experimental
2017-03-07 09:42:45 -08:00
Kevin Sawicki
f549bda9fc
Merge pull request #8799 from nitsakh/baseURLForDataURL
...
Support base URL option to loadURL for data URLs
2017-03-06 10:25:53 -08:00
Kevin Sawicki
fde310f50d
Mention it only effects 10.12.1 with touch bar
2017-03-03 14:04:55 -08:00
Kevin Sawicki
002369576f
Add initial touch bar docs
2017-03-03 14:00:39 -08:00
Samuel Attard
61949657f0
Some docs for touch bar
2017-03-03 14:00:38 -08:00
Nitish Sakhawalkar
370562b129
Moving data url test outside post navigation block. Trailing separator comment in the docs.
2017-03-02 12:14:18 -08:00
Nitish Sakhawalkar
e8c0813f46
Changes based on review.
2017-03-02 10:58:39 -08:00
Nitish Sakhawalkar
879082b1a6
Issue #8735:Support base URL option to loadURL for data URLs
2017-02-28 16:49:03 -08:00
Oden
c10f1210bc
📝 Update link to Blink features.
2017-02-26 20:34:00 -08:00
PoppinL
9b8e4eb6cb
Fix typo
...
Fix typo
2017-02-13 16:14:49 +08:00
Cheng Zhao
2e0780308c
allowDisplayingInsecureContent is removed by Chrome
2017-02-06 10:34:29 -08:00
Kevin Sawicki
2cacaa443a
Indent relativeLevel docs
2017-01-30 15:27:51 -08:00
leethomas
fb741285c6
update documentation
2017-01-23 23:42:38 -08:00
Kevin Sawicki
13acf7a6a3
Mention accessing context in dev tools
2017-01-16 12:38:16 -08:00
Kevin Sawicki
dacfb2f596
Mention contextIsolation is experimental
2017-01-16 12:38:16 -08:00
Kevin Sawicki
572fc058d3
Document contextIsolation option
2017-01-16 12:38:16 -08:00
Kevin Sawicki
afa3bd2143
Put optional label before dash
2016-12-29 14:11:26 -08:00
Kevin Sawicki
f8d41f1f68
Link to offscreen rendering tutorial
2016-12-29 09:15:28 -08:00
Kevin Sawicki
5d505f9139
Support cursive/fantasy default font families
2016-12-28 13:40:53 -08:00
Zeke Sikelianos
e57cb713b2
link process annotations to glossary
2016-12-21 13:47:40 -08:00
Kevin Sawicki
f99dabbac6
Merge pull request #8078 from electron/dts-docs-update-again
...
Update Docs
2016-12-21 13:39:53 -08:00
Dustin
2e1feb63e4
Corrected some grammatical errors
2016-12-19 19:01:35 -08:00
Kevin Sawicki
2fa9ca1f6d
Merge pull request #8156 from sindresorhus/remove-dock-window-level
...
🍎 Document that the `dock` window level is deprecated
2016-12-12 09:39:08 -08:00
Sindre Sorhus
3dde669ee8
🍎 Remove deprecated dock
window level
...
According to the Apple docs, the `NSDockWindowLevel` constant is deprecated: https://developer.apple.com/reference/appkit/nsdockwindowlevel?language=objc
2016-12-09 12:46:49 +01:00
Kevin Sawicki
54d27a390b
Merge pull request #8155 from salomvary/explain-macos-modal-sheet
...
Clarify modal windows being sheets on macOS
2016-12-07 10:29:42 -08:00
Kevin Sawicki
e198b6945c
Add simple postData example
2016-12-06 16:49:22 -08:00
Márton Salomváry
9adb232d99
Clarify modal windows being sheets on macOS
2016-12-06 22:47:26 +01:00
Birunthan Mohanathas
18c49285a8
Add BrowserWindow.setAutoHideCursor for macOS
...
The `disableAutoHideCursor` BrowserWindow option can be used to control
auto-hiding behavior when the window is created. This new API is needed
to dynamically change the behavior after the fact.
2016-11-29 09:46:00 -08:00
Kevin Sawicki
774b2f99f2
Merge pull request #8038 from electron/danhp/close-file-preview
...
Add 'win.closeFilePreview()'
2016-11-28 14:47:06 -08:00
Kevin Sawicki
a7395118af
Merge pull request #7952 from the-ress/window-setappid
...
Added BrowserWindow.setAppDetails to set user model id, icon and relaunch command
2016-11-28 14:46:14 -08:00
Kevin Sawicki
5abecadfd3
Tweak setAppDetails docs
2016-11-28 14:29:21 -08:00
Daniel Pham
d5a0dd39a1
🎁 Add 'win.closeFilePreview()'
2016-11-28 14:25:11 -08:00
Samuel Attard
921b474919
Fixup app and bw docs
2016-11-25 23:21:25 +11:00
Samuel Attard
06960704c4
Update docs for dts again
2016-11-25 23:17:31 +11:00
Kevin Sawicki
ea6b53578f
Mention preferred size
2016-11-21 08:45:46 -08:00
Kevin Sawicki
7916981da2
zoomToContentSize -> zoomToPageWidth
2016-11-21 08:45:46 -08:00
Kevin Sawicki
7896ee23a2
Document zoomToContentSize
2016-11-21 08:45:46 -08:00
Tereza Tomcova
b305020c1d
Added documentation for BrowserWindow.setAppDetails
2016-11-18 21:43:03 +01:00
George Hafiz
aac31159b8
Update formatting to prevent '[] ()' sequences (e.g. String[] (optional)), which breaks MD rendering on GitHub and hides the array indication
2016-11-18 00:34:48 +00:00
Zeke Sikelianos
c9739abf7f
add description and process for BrowserWindow class
2016-11-16 09:02:49 -08:00
Kevin Sawicki
b9e950f5c7
Mark postData as optional
2016-11-12 07:15:21 +05:30
deepak1556
61576c39be
uploadData => uploadRawData
2016-11-11 10:54:01 -08:00
deepak1556
dbe57c4ad4
update docs
2016-11-11 10:54:01 -08:00
deepak1556
2044208fd6
add docs
2016-11-11 10:53:36 -08:00
Kevin Sawicki
4de2493d89
Move footer links to bottom
2016-11-11 10:22:27 -08:00
Samuel Attard
63ebc41778
More docs updates
2016-11-11 09:22:55 -08:00
Samuel Attard
1a9b4b4671
First few docs made optional
2016-11-11 09:22:55 -08:00
gellert
2cf30c0d63
remove method transferred to set with null
2016-11-11 08:49:57 -08:00
gellert
16253fe708
doc fixes
2016-11-11 08:49:57 -08:00
gellert
84a3fe50dc
little fix in docs
2016-11-11 08:49:57 -08:00
gellert
8ad50d1e35
adds vibrancy effect for macos
2016-11-11 08:49:57 -08:00
Zeke Sikelianos
ac68de6215
document process(es) for all APIs
2016-11-03 10:26:00 -07:00
Samuel Attard
02a7094529
Follow docs style guide for string ENUMS
2016-10-26 16:19:41 +11:00
Samuel Attard
7078ed80fa
Move webPreferences
and titleBarStyle
to the correct place in the docs
...
In their previous location `electron-docs-linter` would not output an Object structure for `webPreferences` (which is a key part of the constructor)
2016-10-26 14:31:30 +11:00
Kevin Sawicki
d85c4da11b
Minor formatting tweaks
2016-10-26 09:55:34 +09:00
Kevin Sawicki
d982376fc4
filename -> displayName
2016-10-26 09:47:38 +09:00
Pierre Laurac
b44371f4bf
filename as Optional argument
2016-10-26 09:05:01 +09:00
Pierre Laurac
9736dc3115
Specifying macOS only method
2016-10-26 09:04:30 +09:00
Pierre Laurac
4d305b06d1
Adding documentation
2016-10-26 09:03:14 +09:00
Mike Engel
6f64ad30cb
Clarify the setMenuBarVisibility api
...
The setMenuBarVisibility api is only supported on Windows and Linux.
This adds some minor documentation to make that clearer. Fixes #7686
2016-10-24 22:04:45 -06:00
Samuel Attard
20323e7032
Specifiy function param types in docs
2016-10-13 17:30:57 +11:00
Samuel Attard
4d49156dac
Rename bounds -> rectangle
2016-10-08 13:09:31 +11:00
Samuel Attard
b859afc118
Update docs to follow the 'link first instance' standard
2016-10-06 12:19:38 -07:00
Milan Burda
9f342ebbd1
Add missing documentation
2016-10-06 11:30:34 +02:00
Cheng Zhao
e1d68fa3cd
Merge pull request #7374 from electron/fixup-return-values
...
Update docs to contain more specific return values
2016-09-29 16:44:08 +08:00
Kevin Sawicki
fd6ef6712f
Link to window level macOS docs
2016-09-28 09:20:22 -07:00
Cheng Zhao
de76bf5f63
Merge pull request #7296 from adammeyer/custom-window-level
...
Allow custom window level when sending window to top
2016-09-28 19:18:12 +08:00
Samuel Attard
e0e47ea9a1
Update docs to contain more specific return values
2016-09-28 18:28:44 +13:00
Samuel Attard
d2a701a465
Document the return values of all methods in the docs
2016-09-25 12:59:30 +13:00
adammeyer
783d47f78b
custom window level as string
2016-09-21 22:49:06 -04:00
adammeyer
b35bde662a
custom window level docs
2016-09-21 19:06:36 -04:00
Kevin Sawicki
98999f4850
Add missing s in progress
2016-09-20 14:46:17 -07:00
Anthony Tseng
269a87b26f
Emit scroll-touch-edge event instead of changing the behavior of scroll-touch-begin/end
...
fix #6873
2016-09-17 22:50:10 +08:00
Cheng Zhao
4eba8094d4
Merge pull request #7096 from minggo/add-option-to-disable-devtools
...
add option to disable devtools
2016-09-13 16:01:56 +09:00
minggo
3fdc99c3c6
change the option name to devTools
2016-09-07 10:16:52 +08:00
minggo
2db5aa8294
update browser-window.md to add disableDevTools option
2016-09-06 17:46:55 +08:00
Milan Burda
9911e60f5b
Add support for titleBarStyle: 'hidden-inset' on OS X 10.9
2016-09-03 01:33:20 +02:00
Zeke Sikelianos
28d42ba35b
document missing method parameters
2016-08-25 10:52:19 -07:00
Zeke Sikelianos
84fc1d022f
add missing require to win.loadURL doc
2016-08-22 14:25:48 -07:00
Kevin Sawicki
e84d0ebb7e
Merge pull request #6932 from electron/fix-power-save-blocker-doc-bug
...
Fix some invalid docs
2016-08-22 12:30:00 -07:00
Zeke Sikelianos
8c0a551d25
fix linting errors in docs
2016-08-22 11:47:55 -07:00
Zeke Sikelianos
1985432e8e
recommend url.format for file URLs
2016-08-19 13:31:57 -07:00
Zeke Sikelianos
d9901e62b6
improve doc for loadURL
2016-08-18 22:20:55 -07:00
Cheng Zhao
b9b6fc238e
docs: Correctly fomart titleBarStyle line
2016-08-18 14:42:10 +09:00
Cheng Zhao
105597c7e8
Merge pull request #6848 from miniak/titlebar-style-hidden
...
Add support for titleBarStyle: 'hidden' on OS X 10.9
2016-08-18 14:40:54 +09:00
Milan Burda
ab8fd49c72
Add support for titleBarStyle: 'hidden' on OS X 10.9 (hidden-inset falls back to hidden)
2016-08-15 22:10:38 +02:00
Stan
c9f80dfc7b
Added title
to page-title-updated
return args
2016-08-15 13:06:29 -04:00
Cheng Zhao
81244c2221
Merge pull request #6768 from electron/felix-set-progress
...
Enable mode indication for setProgressBar
2016-08-09 20:58:07 +09:00
Felix Rieseberg
73c91dae9e
🔧 Enable mode indication for setProgressBar
...
This commit enables setting a mode for the setProgressBar method.
Old behavior is kept intact, usage is entirely optional.
2016-08-08 15:52:20 -07:00
Milan Burda
a6125c538e
Add BrowserWindow.prototype.setThumbnailToolTip
2016-08-08 12:05:47 +02:00
Kevin Sawicki
01f95c149a
Doc BrowserWindow.setContentBounds
2016-08-04 12:15:29 -07:00
Kevin Sawicki
a868bffd73
Document BrowserWindow.getContentBounds()
2016-08-04 09:58:36 -07:00
Kevin Sawicki
05ab7d39ad
Mark isDestroyed as public on BrowserWindow/WebContents
2016-08-03 14:58:22 -07:00
gellert
439ad94afe
Merge remote-tracking branch 'upstream/master' into speedup-gpu
2016-08-01 12:00:34 +02:00
gellert
f60d791fa8
adds docs for osr
2016-07-31 00:22:34 +02:00
Milan Burda
e428d5db4f
docs: fix argument types
2016-07-29 11:56:32 +02:00
Zeke Sikelianos
06a354a2eb
standardize all javascript blocks in English docs
2016-07-26 09:48:19 -07:00
Cheng Zhao
b57665330c
Merge branch 'master' into chrome52
2016-07-21 05:34:36 -06:00