onMouseIn( )

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

You can also define an event handler using the Properties and Events panel.

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