Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
要素 A でマウス ダウンを実行し、要素 B でマウスを離すと、どちらの要素も mouseUp イベントを受け取りません。それらの 1 つがイベントを受信する可能性はありますか (2 つのうちのどちらかは問題ではありません)。
イベントタイプmouseupのイベントリスナーを要素Aにアタッチしたため、説明した場合、どちらの要素もmouseupイベントを受け取りません。何かの上にマウスを置いているときにマウスボタンを離すと、特定のmouseupイベントリスナーが起動しないと結論付けます要素 A には含まれません。