DhEventInfo.getFromElement

Overview | Methods | Fields | This Package | All Packages

DhEventInfo.getFromElement

Retrieves the element that the mouse was on before the mouseEnter or mouseLeave event.

Syntax

final public DhElement getFromElement()

Return Value

Returns the DhElement from which the mouse moved, or returns null if the event was neither mouseEnter nor mouseLeave. This can be a normal element, the containing DhDocument object, or null if the mouse has moved into the browser from outside it.

Remarks

This method is valid only following mouseEnter or mouseLeave event.

See Also   getToElement