onmouseleave
は GlobalEventHandlers
ミックスインのプロパティで、mouseleave
イベントを処理するイベントハンドラー
です。
mouseleave
イベントは、ポインティングデバイス(通常はマウス)がリスナーが接続されている要素から外れたときに発生します。
構文
element.onmouseleave = handlerFunction; var handlerFunction = element.onmouseleave;
handlerFunction
は、イベントのハンドラを指定する null
または JavaScript 関数 です。
仕様
仕様書 | 状態 | 備考 |
---|---|---|
HTML Living Standard onmouseleave の定義 |
現行の標準 |
ブラウザの互換性
BCD tables only load in the browser
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.