onMouseIn( )


Adds an event handler that runs when the pointer is moved onto the element.

Method Declaration
Copy
Method Parameters
handlerfunctionRequired

handler(event: MouseEvent): void The name of the function or the function expression to run when the pointer is moved onto the element.

Returns
Return Type:Element
Was this helpful?
Yes
No