Session.on('serial-port-removed') method
Session › on(‘serial-port-removed’)
Unofficial
Emitted after a serial port has been removed.Signature:
on(event: "serial-port-removed", listener: (event: ElectronEvent, port: ElectronSerialPort, webContents: ElectronWebContents) => void): thisParameters:
| Parameter | Type | Description |
|---|---|---|
| event | "serial-port-removed" | |
| listener | (event: ElectronEvent, port: ElectronSerialPort, webContents: ElectronWebContents) => void |
Returns: this