The onmouseenter property of the GlobalEventHandlers mixin is the EventHandler for processing mouseenter events.

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


element.onmouseenter = handlerFunction;
var handlerFunction = element.onmouseenter;

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


Specification Status Comment
HTML Living Standard
The definition of 'onmouseenter' in that specification.
Living Standard

Browser compatibility

BCD tables only load in the browser

See also