Get to know MDN better
このページはコミュニティーの尽力で英語から翻訳されました。MDN Web Docs コミュニティーについてもっと知り、仲間になるにはこちらから。
UIEvent() コンストラクターは新しい UIEvent を生成します。
メモ: このコンストラクターを使用して合成イベントを作成した場合、セキュリティ上の理由から、そのイベントは信頼されません。 ブラウザーで生成された `UIEvent`` オブジェクトのみが信頼され、信頼されたイベントのみが既定のアクションを発生させます。
文字列で、このイベントの名前を表します。 大文字小文字の区別があり、ブラウザーは load, unload, abort, error, select の何れかに設定します。
options 省略可Event() で定義されたプロパティに加え、以下のプロパティを持つすることができるオブジェクトです。
detail 省略可数値で、このイベントに関連付けられたイベント依存の値です。 既定値は 0 であり UIEvent.detail は、標準イベントのセマンティックを列挙します。
view 省略可イベントに関連付けられた Window です。既定値は null です。
sourceCapabilities 省略可InputDeviceCapabilities オブジェクトで、タッチイベントを生成する原因となった物理的な機器についての情報を提供します。
新しい UIEvent オブジェクト。
| UI Events # dom-uievent-uievent |
Enable JavaScript to view this browser compatibility table.
This page was last modified on 2025年6月24日 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.