Header menu logo fable-electron-docs-api

IOnSelectSerialPort Type

Emitted when a serial port needs to be selected when a call to navigator.serial.requestPort is made. callback should be called with portId to be selected, passing an empty string to callback will cancel the request. Additionally, permissioning on navigator.serial can be managed by using ses.setPermissionCheckHandler(handler) with the serial permission.

Instance members

Instance member Description

this.callback arg1

Full Usage: this.callback arg1

Returns: string
Modifiers: abstract
Returns: string

this.event

Full Usage: this.event

Modifiers: abstract

this.portList

Full Usage: this.portList

Modifiers: abstract

this.webContents

Full Usage: this.webContents

Modifiers: abstract

Type something to start searching.