GlobalEventHandlers.onmouseleave

The onmouseleave property of the GlobalEventHandlers mixin is the EventHandler for processing mouseleave events.

The mouseleave event is fired when a pointing device (usually a mouse) is moved off the element that has the listener attached.

Syntax

element.onmouseleave = handlerFunction;
var handlerFunction = element.onmouseleave;

handlerFunction is either null or a JavaScript function specifying the handler for the event.

Specifications

Browser compatibility

BCD tables only load in the browser

See also