Jeremy Apthorp
f8c4be7caa
docs: replace electron.atom.io with electronjs.org in docs/fiddles ( #22196 )
2020-02-17 09:46:41 +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
Konstantinos Ntoutsos-Oikonomou
20c910f98e
docs: New fiddle example 'Create a new window' ( #20480 )
...
* add: New fiddle for Manage Windows section example
* Delete package.json
Not needed
* Address issue with .gitignore file, load new window, removing unwanted css class
* Delete package.json
* Pushing change regarding the use of shell.OpenExternal API with an event listener for the href tag on the link
2020-01-13 15:35:56 +09:00
Yaser
b31084493e
docs: Added Window Management Fiddle example ( #20535 )
2020-01-13 15:34:13 +09:00
Yaser
143407ea1b
docs: Adds Native-UI tray Fiddle example ( #20526 )
2019-12-04 15:38:53 +09:00
Yaser
1b61fe780e
docs: adds Native-UI Open external links and the file manager Fiddle example ( #20524 )
2019-12-04 15:38:19 +09:00
Kristof Kalocsai
821bcdef75
docs: added windows -> create frameless window example ( #20591 )
...
* docs: added windows -> create frameless window example from electron-api-docs
* fixed style in accord with StandardJS
* removed class tag from button
2019-11-13 14:49:13 +09:00
Alan Ionita
a15e0e0657
FEAT [ #20442 ] : adds the fiddle for launching an app from URL in another app, including all 3 files main.js, index.html, renderer.js ( #20718 )
2019-11-13 14:46:54 +09:00
Alan Ionita
09533e77da
feat: #20442 adds fiddle for opening external links and the pro version of opening all outbound links ( #20763 )
2019-11-13 14:46:35 +09:00
Yaser
e5ba6c5406
docs: Adds Desktop notifications Fiddle example ( #20525 )
...
* docs: Adds Desktop notifications Fiddle example
* Update index.html
Removed the classes
2019-11-06 09:24:41 -08:00
CezaryKulakowski
00a1cd9395
fix: changed crlf to lf in some docs files ( #20832 )
2019-11-05 13:39:39 -08:00
Amarnath Karthi
0fe718b1d9
docs: add Synchronous Messages Fiddle example ( #20451 )
...
* docs: add Synchronous Messages Fiddle example
* Code review changes
* Add OS support info
2019-11-01 14:02:42 -04:00
Amarnath Karthi
06285f0bf1
docs: add app information example ( #20487 )
...
* docs: add app information example
* Code review changes
* Remove demo-control css class, link href change
2019-11-01 08:04:47 -07:00
Yaser
b060cbf4ec
docs: Adds Dialogs Fiddle example ( #20473 )
2019-10-31 11:04:24 -07:00
Kristof Kalocsai
7b28cd33cb
docs: Added Native User Interface -> Open path in file manager Fiddle example ( #20589 )
...
* docs: Added Native User Interface -> Open path in file manager Fiddle example from electron-api-demos
* removed classname from button
2019-10-21 16:16:11 +09:00
Yaser
4e88633d89
docs: Added Drag and drop files Fiddle example ( #20472 )
2019-10-21 16:14:35 +09:00
Harendra Singh
db91673f23
docs: add example for taking screenshot ( #20531 )
2019-10-16 08:17:50 -07:00
Vlad Hashimoto
c73e34fb9e
docs: remove class names from fiddle examples ( #20596 )
...
* docs: remove original class names in customize menus example
* docs: remove original class names in shortcuts example
* lint: run standard
2019-10-16 08:17:09 -07:00
Harendra Singh
93788e76e0
docs: add notification examples ( #20528 )
...
Refs #20442
Adds the basic notification and notification with custom image examples from electron-api-demos into runnable Fiddle examples.
Gist links to Fiddles (same as code submitted in this PR):
Basic Notification: https://gist.github.com/102945f83f559e7944797175d8fd8af4
Notification with image: https://gist.github.com/2688bf4bfc27ce02f5d74224828eb928
Co-Authored-By: Erick Zhao <erick@hotmail.ca>
2019-10-15 14:06:58 -07:00
Rik Theunis
16d4ace800
docs: add system get version info Fiddle example ( #20536 )
2019-10-15 11:17:04 -07:00
Erick Zhao
c2e77e4429
docs: add Asynchronous Messages Fiddle example ( #20441 )
...
* docs: add Asynchronous Messages Fiddle example
* Update docs/fiddles/communication/two-processes/asynchronous-messages/main.js
Co-Authored-By: John Kleinschmidt <jkleinsc@github.com>
* Update docs/fiddles/communication/two-processes/asynchronous-messages/index.html
Co-Authored-By: John Kleinschmidt <jkleinsc@github.com>
2019-10-10 09:49:07 -04:00
Rik Theunis
ec87917f58
docs: add clipboard Fiddle examples ( #20445 )
...
* docs: add clipboard paste Fiddle example
* docs: add clipboard copy Fiddle example
* docs: add appropriate title to Fiddles
Co-Authored-By: John Kleinschmidt <jkleinsc@github.com>
2019-10-10 09:48:33 -04:00
Yaser
d1c5c760d0
docs: add Menu Shortcuts Fiddle example ( #20466 )
2019-10-10 09:47:50 -04:00
Yaser
9b4ba7993c
docs: Adds Customize Menu section Fiddle example ( #20468 )
2019-10-10 09:47:34 -04:00
Erick Zhao
0a09f27735
chore: empty folder structure ( #20439 )
2019-10-05 12:46:01 -05:00
Micha Hanselmann
e59095423e
docs: add exemplary fiddle for launch in fiddle
feat ( #19759 )
...
* add fit-screen
* new url format
* nit
2019-08-15 15:37:37 -07:00