diff --git a/docs/api/web-contents.md b/docs/api/web-contents.md index 89d7e1245d7..941879b7f74 100644 --- a/docs/api/web-contents.md +++ b/docs/api/web-contents.md @@ -373,6 +373,22 @@ The `editFlags` is an object with the following properties: Emitted when there is a new context menu that needs to be handled. +### Event: 'select-bluetooth-device' + +Returns: + +* `event` Event +* `devices` [Objects] + * `deviceName` String + * `deviceId` String +* `callback` Function + * `deviceId` String + +Emitted when bluetooth device needs to be selected on call to +`navigator.bluetooth.requestDevice`. If `event.preventDefault` is not called, +first available device will be selected. `callback` should be called with `deviceId` +to be selected. + ## Instance Methods The `webContents` object has the following instance methods: