docs: fix hid-device-{added|removed|revoked}
event types (#40462)
docs: fix hid-device-{added|removed|revoked} types
This commit is contained in:
parent
e8d9294d9d
commit
1ba535296e
1 changed files with 3 additions and 3 deletions
|
@ -266,7 +266,7 @@ Returns:
|
||||||
|
|
||||||
* `event` Event
|
* `event` Event
|
||||||
* `details` Object
|
* `details` Object
|
||||||
* `device` [HIDDevice[]](structures/hid-device.md)
|
* `device` [HIDDevice](structures/hid-device.md)
|
||||||
* `frame` [WebFrameMain](web-frame-main.md)
|
* `frame` [WebFrameMain](web-frame-main.md)
|
||||||
|
|
||||||
Emitted after `navigator.hid.requestDevice` has been called and
|
Emitted after `navigator.hid.requestDevice` has been called and
|
||||||
|
@ -281,7 +281,7 @@ Returns:
|
||||||
|
|
||||||
* `event` Event
|
* `event` Event
|
||||||
* `details` Object
|
* `details` Object
|
||||||
* `device` [HIDDevice[]](structures/hid-device.md)
|
* `device` [HIDDevice](structures/hid-device.md)
|
||||||
* `frame` [WebFrameMain](web-frame-main.md)
|
* `frame` [WebFrameMain](web-frame-main.md)
|
||||||
|
|
||||||
Emitted after `navigator.hid.requestDevice` has been called and
|
Emitted after `navigator.hid.requestDevice` has been called and
|
||||||
|
@ -296,7 +296,7 @@ Returns:
|
||||||
|
|
||||||
* `event` Event
|
* `event` Event
|
||||||
* `details` Object
|
* `details` Object
|
||||||
* `device` [HIDDevice[]](structures/hid-device.md)
|
* `device` [HIDDevice](structures/hid-device.md)
|
||||||
* `origin` string (optional) - The origin that the device has been revoked from.
|
* `origin` string (optional) - The origin that the device has been revoked from.
|
||||||
|
|
||||||
Emitted after `HIDDevice.forget()` has been called. This event can be used
|
Emitted after `HIDDevice.forget()` has been called. This event can be used
|
||||||
|
|
Loading…
Reference in a new issue