ElectronApp.on('will-continue-activity') method
ElectronApp › on(‘will-continue-activity’)
Unofficial
Registers a listener for thewill-continue-activity event.Emitted during Handoff before an activity from a different device wants to be resumed. macOS only.
Signature:
on($event: "will-continue-activity", listener: ($event: ElectronEvent, type: string) => void): thisParameters:
| Parameter | Type | Description |
|---|---|---|
| $event | "will-continue-activity" | |
| listener | ($event: ElectronEvent, type: string) => void | The event handler. |
Returns: this — This ElectronApp instance.