HIDConnectionEvent()
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
安全なコンテキスト用: この機能は一部またはすべての対応しているブラウザーにおいて、安全なコンテキスト (HTTPS) でのみ利用できます。
Experimental: これは実験的な機能です。
本番で使用する前にブラウザー互換性一覧表をチェックしてください。
HIDConnectionEvent()
コンストラクターは、新しい HIDConnectionEvent
オブジェクトを生成します。通常は、イベントは Input レポートを受信した際に生成されるため、このコンストラクターは使用されません。
構文
js
new HIDConnectionEvent(type, options)
引数
返値
新しい HIDConnectionEvent
オブジェクトを返します。
仕様書
Specification |
---|
WebHID API # dom-hidconnectionevent-constructor |