docs: clarify open-url
not preventable (#37564)
docs: clarify open-url not preventable
This commit is contained in:
parent
3b69a542fb
commit
e480cb7103
1 changed files with 0 additions and 2 deletions
|
@ -127,8 +127,6 @@ Emitted when the user wants to open a URL with the application. Your application
|
|||
`Info.plist` file must define the URL scheme within the `CFBundleURLTypes` key, and
|
||||
set `NSPrincipalClass` to `AtomApplication`.
|
||||
|
||||
You should call `event.preventDefault()` if you want to handle this event.
|
||||
|
||||
As with the `open-file` event, be sure to register a listener for the `open-url`
|
||||
event early in your application startup to detect if the the application being
|
||||
is being opened to handle a URL. If you register the listener in response to a
|
||||
|
|
Loading…
Reference in a new issue