IOnOpenUrl Type
⚠ OS Compatibility: WIN ❌ | MAC ✔ | LIN ❌ | MAS ❌ Emitted when the user wants to open a URL with the application. Your application's Info.plist file must define the URL scheme within the CFBundleURLTypes key, and set NSPrincipalClass to AtomApplication.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 application is being opened to handle a URL. If you register the listener in response to a ready event, you'll miss URLs that trigger the launch of your application.
Instance members
| Instance member |
Description
|
Full Usage:
this.event
Modifiers: abstract |
|
Full Usage:
this.url
Modifiers: abstract |
|
fable-electron-docs-api