trop[bot]
c5894fb455
docs: add net.isOnline() to online/offline detection tutorial ( #48683 )
...
* docs: add net.isOnline() to online/offline detection tutorial
Co-authored-by: CuzImSlymi <fridolinojustin@gmail.com>
* chore: make linter happy
docs/tutorial/online-offline-events.md:12:1 MD004/ul-style Unordered list style [Expected: dash; Actual: asterisk]
docs/tutorial/online-offline-events.md:13:1 MD004/ul-style Unordered list style [Expected: dash; Actual: asterisk]
Co-authored-by: Charles Kerr <charles@charleskerr.com>
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: CuzImSlymi <fridolinojustin@gmail.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2025-10-28 08:54:11 +01:00
trop[bot]
434f77e6c1
docs: unify [!NOTE] structure ( #47048 )
...
* docs: unify [!NOTE] structure
Co-authored-by: Erick Zhao <ezhao@slack-corp.com>
* Update docs/api/command-line.md
Co-authored-by: Niklas Wenzel <dev@nikwen.de>
Co-authored-by: Erick Zhao <erick@hotmail.ca>
* Update docs/api/browser-window.md
Co-authored-by: Niklas Wenzel <dev@nikwen.de>
Co-authored-by: Erick Zhao <erick@hotmail.ca>
* Update docs/api/download-item.md
Co-authored-by: Niklas Wenzel <dev@nikwen.de>
Co-authored-by: Erick Zhao <erick@hotmail.ca>
* Update docs/api/global-shortcut.md
Co-authored-by: Niklas Wenzel <dev@nikwen.de>
Co-authored-by: Erick Zhao <erick@hotmail.ca>
* revert line break
Co-authored-by: Erick Zhao <ezhao@slack-corp.com>
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Erick Zhao <ezhao@slack-corp.com>
Co-authored-by: Erick Zhao <erick@hotmail.ca>
2025-05-09 17:46:11 -05:00
Kavindu Udara
d0110d897d
docs: remove width and height params ( #45331 )
...
remove width and height params
2025-02-07 11:42:16 +01:00
Matthew Shen
c0e72bd335
docs: update to the use of arrow functions in line with the style guide ( #30194 )
...
* docs: Update to the use of arrow functions in line with the style guide
* docs: Fixed unmatched bracket typo in previous commit 9ebe3e58f7948c6636d77f3c58a2693683b69691
* fix linting
Co-authored-by: Cheng Zhao <zcbenz@gmail.com>
2021-08-02 10:57:37 +09:00
Ethan Arrowood
12aa6d7343
docs: Update online detection doc and fiddle ( #29212 )
...
* rework online detection doc and fiddle
* add footnote
* Update docs/tutorial/online-offline-events.md
Co-authored-by: Erick Zhao <erick@hotmail.ca>
* Update docs/tutorial/online-offline-events.md
Co-authored-by: Erick Zhao <erick@hotmail.ca>
* Update docs/tutorial/online-offline-events.md
* Update docs/tutorial/online-offline-events.md
* Update docs/tutorial/online-offline-events.md
* chore: fix lint error
Co-authored-by: Erick Zhao <erick@hotmail.ca>
Co-authored-by: Cheng Zhao <github@zcbenz.com>
2021-05-24 16:34:00 +09:00
Antonio
fadd513739
docs: added fiddle support for code samples ( #26501 )
...
* docs: added fiddle support for code samples in quick start guide and features
* docs: removed excessive fiddle links for not final steps
* docs: added eof newlines to fiddle examples
* docs: reworked fiddle examples to be more self-sufficient
* docs: reworked fiddle examples according to mentions
* docs: changed http to https in the offscreen rendering fiddle
* docs: fix recent documents fiddle to be more consistent
2020-11-30 16:48:39 +09:00
David Sanders
43dbd1bdf8
chore: cleanup whitespace in docs ( #26356 )
2020-11-05 14:12:43 -08:00
Antonio
5c6fa7e420
docs: revised the online-offline event detection feature page ( #26017 )
...
* docs: revised the online-offline event detection feature page
* docs: fixed text and grammar mentions
2020-10-21 15:46:56 +09:00
Charles Kerr
c83f836faf
refactor: prefer using app.whenReady() ( #21972 )
...
* docs: add references to app.whenReady() in isReady
* refactor: prefer app.whenReady()
In the docs, specs, and lib, replace instances of `app.once('ready')`
(seen occasionally) and `app.on('ready')` (extremely common) with
`app.whenReady()`.
It's better to encourage users to use whenReady():
1. it handles the edge case of registering for 'ready' after it's fired
2. it avoids the minor wart of leaving an active listener alive for
an event that wll never fire again
2020-02-03 22:43:22 +00:00
daveilers
2f394d46c7
docs: Update online-offline-events.md to reflect nodeIntegration required ( #21707 )
...
* Update online-offline-events.md
NodeIntegration is required for online/offline and the default changed, so the example should reflect the need for that config
* chore: fix lint warning
Co-authored-by: Cheng Zhao <zcbenz@github.com>
2020-01-13 14:56:39 +09:00
Samuel Attard
558fff69e7
chore: update to standard 12
2018-09-14 14:57:01 +10:00
Sarthak Tripathi
32f92f7a90
Updated online-offline-events.md
...
Improved readability and simplicity.
2017-10-18 19:26:19 +05:30
Sarthak Tripathi
392f4b44f0
Updated online-offline-events.md
...
Added links, removed grammatical error.
2017-10-18 19:11:05 +05:30
Sarthak Tripathi
392e88db34
Updated online-offline-events.md
...
Added more info, to clarify things.
2017-10-18 16:28:18 +05:30
Kevin Sawicki
4f57b685bd
Add backticks around true/false values
2016-10-13 14:16:37 -07:00
Nabeel Omer
4f288e3ba2
Update
2016-10-13 20:22:40 +05:30
Nabeel Omer
392b59be4e
Made relevant changes
2016-10-13 20:12:44 +05:30
Nabeel Omer
6d8d211631
Update online-offline-events.md
2016-10-13 19:45:39 +05:30
Zeke Sikelianos
06a354a2eb
standardize all javascript blocks in English docs
2016-07-26 09:48:19 -07:00
Plusb Preco
4d7296e1db
📝 Match destructuring style
...
[ci skip]
2016-05-11 01:26:38 +09:00
Steve Kinney
55babea2bb
📝 Update tutorials to ES6 [ci skip]
2016-05-04 12:11:51 -06:00
Cheng Zhao
fbb8e61958
Replace "Url" in API names with "URL"
2015-11-13 16:03:40 +08:00
Cheng Zhao
eac2e7cc61
docs: Update codes in docs to use require('electron')
2015-11-12 21:20:09 +08:00
Cheng Zhao
90a7d4a906
docs: Update with new IPC modules
2015-11-10 16:48:24 +08:00
Jessica Lord
52916f70ed
Standardize online-offline
2015-08-31 19:17:59 -07:00
Cheng Zhao
d2682233fd
docs: Atom Shell => Electron
2015-04-16 11:31:12 +08:00
Joseph Dykstra
b6875ad49b
Renamed browser-side to main process
...
renamed a few occurances of "web page" to "renderer"
renamed a few files that had "browser" in their name to "main-process"
note that there are still many occurances of web page.
2015-03-26 10:20:31 -05:00
Xue Fuqiao
29c6d1e46f
Update online-offline-events.md
...
Add HTML5 doctype.
2015-03-04 21:29:02 +08:00
Brent Ertz
522ae765ea
Updates per PR feedback
...
* Use backticks instead of quotes around code object
* Remove path.join usage
* Dasherize event names
2014-11-05 11:21:18 -07:00
Brent Ertz
9cf3811a56
Add tutorial on online/offline event detection
2014-11-05 07:49:50 -07:00