Search.../

onMouseIn( )

Note: This standard element property is not relevant for VideoBox.

Description

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

Syntax

function onMouseIn(handler: MouseEventHandler): Element
handler: function MouseEventHandler(event: MouseEvent): void

onMouseIn Parameters

NAME
TYPE
DESCRIPTION
handler

The name of the function or the function expression to run when the pointer is moved onto the element.

Returns

The element to which the event handler was added.

Return Type:

MouseEventHandler Parameters

NAME
TYPE
DESCRIPTION
event

The mouse event that occurred.

Returns

This function does not return anything.

Return Type:

void

Was this helpful?